Download Jar. Uses 240K of libraries. Click here for Pure Java version (1836L/13K).
1 | !7 |
2 | |
3 | lib 1013124 // fastutil Object2IntRBTreeMap |
4 | |
5 | import it.unimi.dsi.fastutil.objects.Object2IntRBTreeMap; |
6 | |
7 | p {
|
8 | Object2IntRBTreeMap<S> map = new(caseInsensitiveComparator()); |
9 | map.put("a", 5);
|
10 | map.put("A", 10);
|
11 | map.put("b", 3);
|
12 | printStruct(map); |
13 | assertEquals(10, map.get("a"));
|
14 | assertEquals(10, map.get("A"));
|
15 | print("OK");
|
16 | } |
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: | 669 / 1677 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |