Download Jar. Libraryless. Click here for Pure Java version (1784L/11K).
1 | !7 |
2 | |
3 | p {
|
4 | new CompactHashSet set; |
5 | set.add("hello");
|
6 | set.add("world");
|
7 | print(set); |
8 | assertEquals(2, l(set)); |
9 | assertEquals("hello", set.find(new String("hello")));
|
10 | assertNull(set.find("hallo"));
|
11 | print("OK");
|
12 | } |
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: | 758 / 1800 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |