Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1003316 // Test PersistentMap with list keys including ints

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1850L/12K/40K).

!752

p {
  PersistentMap map = new PersistentMap("bla");
  map.clear();
  map.put(litlist(0, "a", "b"), "c");
  assertEq("test1", map.get(litlist(0, "a", "b")), "c");
  
  map = new PersistentMap("bla");
  printStructure(map);
  assertEq("test2", map.get(litlist(0, "a", "b")), "c");
  print("OK");
}

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

Comments [hide]

ID Author/Program Comment Date
1228 stefan Works 2016-06-19 15:31:14

add comment

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: 765 / 806
Referenced in: [show references]