static <A> L<A> assertLength(int length, L<A> l) { assertEquals(length, l(l)); ret l; } static S assertLength(int length, S s) { assertEquals(s, length, l(s)); ret s; } static S assertLength(S s, int length) { ret assertLength(length, s); }
Began life as a copy of #1004689
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005335 |
Snippet name: | assertLength - assert length of list or string |
Eternal ID of this version: | #1005335/6 |
Text MD5: | f7c1769b71a45e76a993a7a6a603c761 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-11 02:07:19 |
Source code size: | 264 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 511 / 549 |
Version history: | 5 change(s) |
Referenced in: | [show references] |