Uses 1113K of libraries. Click here for Pure Java version (7737L/41K).
!7 cm > DynTestModule { void test { new WeakCompactHashSet set; set.add("hello"); set.add("world"); print(set); assertEquals(2, l(set)); assertEquals("hello", set.find(new String("hello"))); assertNull(set.find("hallo")); print("OK"); } }
Began life as a copy of #1012356
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1012722 |
| Snippet name: | Test WeakCompactHashSet (so far, it works) |
| Eternal ID of this version: | #1012722/4 |
| Text MD5: | 783a2ddc8d248292eb42ac82bd30a8f4 |
| Transpilation MD5: | b0c5742dc5ecc4dfa5988a3b1afba647 |
| Author: | stefan |
| Category: | javax / collections |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-07-11 15:58:17 |
| Source code size: | 288 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 710 / 848 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |