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).

1  
!7
2  
3  
lib 1013124 // fastutil Object2IntRBTreeMap
4  
5  
import it.unimi.dsi.fastutil.objects.Object2IntRBTreeMap;
6  
7  
p {
8  
  new Object2IntRBTreeMap<S> map;
9  
  map.put("a", 5);
10  
  map.put("b", 10);
11  
  printStruct(map);
12  
  assertEquals(5, map.get("a"));
13  
  assertEquals(10, map.get("b"));
14  
  print("OK");
15  
}

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: 506 / 1063
Version history: 2 change(s)
Referenced in: [show references]