Libraryless. Click here for Pure Java version (5131L/30K).
1 | svoid test_SortedArrayBasedMap() { |
2 | Map map = SortedArrayBasedMap(litmap("hello" := "world", "a" := "b")); |
3 | printStruct(map); |
4 | assertEqualsVerbose("b", map.get("a")); |
5 | assertEqualsVerbose("world", map.get("hello")); |
6 | assertEqualsVerbose(2, map.entrySet().size()); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031059 |
Snippet name: | test_SortedArrayBasedMap |
Eternal ID of this version: | #1031059/1 |
Text MD5: | 980b4299d5f22b68ed96622f09a878ef |
Transpilation MD5: | 1926785c64dff42471ca25481806e97d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-26 17:07:16 |
Source code size: | 276 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 292 |
Referenced in: | [show references] |