Download Jar. Uses 240K of libraries. Click here for Pure Java version (1836L/13K).
!7 lib 1013124 // fastutil Object2IntRBTreeMap import it.unimi.dsi.fastutil.objects.Object2IntRBTreeMap; p { Object2IntRBTreeMap<S> map = new(caseInsensitiveComparator()); map.put("a", 5); map.put("A", 10); map.put("b", 3); printStruct(map); assertEquals(10, map.get("a")); assertEquals(10, map.get("A")); print("OK"); }
Began life as a copy of #1013125
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: | #1013126 |
Snippet name: | Test case-insensitive Object2IntRBTreeMap (OK) |
Eternal ID of this version: | #1013126/2 |
Text MD5: | 1829f8c9a4a89a4aaaaff98adbac6c7e |
Transpilation MD5: | 9abb2934ba43553c3975dd417a13fe73 |
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:46:00 |
Source code size: | 354 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 420 / 1091 |
Version history: | 1 change(s) |
Referenced in: | [show references] |