1 | static void assertSameLength(Collection a, Collection b) { |
2 | assertSameLength(null, a, b); |
3 | } |
4 | |
5 | static void assertSameLength(S msg, Collection a, Collection b) { |
6 | if (l(a) != l(b)) |
7 | fail(msgColon(msg) + "Length differs: " + l(a) + "/" + l(b)); |
8 | } |
Began life as a copy of #1012661
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013229 |
Snippet name: | assertSameLength |
Eternal ID of this version: | #1013229/3 |
Text MD5: | 88cb107441b313b60101caa898afa94a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-28 23:18:48 |
Source code size: | 254 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 418 / 446 |
Version history: | 2 change(s) |
Referenced in: | [show references] |