Transpiled version (4572L) is out of date.
1 | static <A> void assertContainsAll(Collection<? extends A> a, Collection<A> b) {
|
2 | fOr (x : b) |
3 | if (!contains(a, x)) |
4 | fail("Collection doesn't contain " + x + ": " + str_shorten(a));
|
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1009499 |
| Snippet name: | assertContainsAll |
| Eternal ID of this version: | #1009499/5 |
| Text MD5: | cdbd5343d5d807bb0b3657bdd9b1325b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-29 05:54:27 |
| Source code size: | 195 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 741 / 989 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |