Download Jar. Libraryless. Click here for Pure Java version (1784L/11K).
!7 p { new CompactHashSet 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"); }
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: | #1012356 |
Snippet name: | Test CompactHashSet |
Eternal ID of this version: | #1012356/4 |
Text MD5: | 7e48dddc7acf2077d278cf72346a1eee |
Transpilation MD5: | 5b7eb1571eb9567c36a0ad8e64292196 |
Author: | stefan |
Category: | javax / collections |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-30 14:12:39 |
Source code size: | 231 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 525 / 1239 |
Version history: | 3 change(s) |
Referenced in: | [show references] |