Libraryless. Click here for Pure Java version (1850L/12K/40K).
1 | !752 |
2 | |
3 | p { |
4 | PersistentMap map = new PersistentMap("bla"); |
5 | map.clear(); |
6 | map.put(litlist(0, "a", "b"), "c"); |
7 | assertEq("test1", map.get(litlist(0, "a", "b")), "c"); |
8 | |
9 | map = new PersistentMap("bla"); |
10 | printStructure(map); |
11 | assertEq("test2", map.get(litlist(0, "a", "b")), "c"); |
12 | print("OK"); |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date |
---|---|---|---|
1228 | stefan | Works | 2016-06-19 15:31:14 |
Snippet ID: | #1003316 |
Snippet name: | Test PersistentMap with list keys including ints |
Eternal ID of this version: | #1003316/1 |
Text MD5: | ac5164b97e44d0a2559721a524836fa7 |
Transpilation MD5: | 74d32d329dff1aace063c8b5ac3347a5 |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-06-19 16:02:33 |
Source code size: | 313 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 766 / 807 |
Referenced in: | [show references] |