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

15
LINES

< > BotCompany Repo | #1013125 // Test Object2IntRBTreeMap (OK)

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

Download Jar. Uses 240K of libraries. Click here for Pure Java version (1832L/13K).

!7

lib 1013124 // fastutil Object2IntRBTreeMap

import it.unimi.dsi.fastutil.objects.Object2IntRBTreeMap;

p {
  new Object2IntRBTreeMap<S> map;
  map.put("a", 5);
  map.put("b", 10);
  printStruct(map);
  assertEquals(5, map.get("a"));
  assertEquals(10, map.get("b"));
  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: #1013125
Snippet name: Test Object2IntRBTreeMap (OK)
Eternal ID of this version: #1013125/3
Text MD5: c67e9b8d5fc8ce4e6d034ffb790dcba7
Transpilation MD5: 3ad7a7bd94a275cec696d876e8080b4e
Author: stefan
Category: javax / fancy external collections
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-26 03:38:49
Source code size: 302 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 336 / 757
Version history: 2 change(s)
Referenced in: [show references]