Libraryless. Click here for Pure Java version (5131L/30K).
svoid test_SortedArrayBasedMap() { Map map = SortedArrayBasedMap(litmap("hello" := "world", "a" := "b")); printStruct(map); assertEqualsVerbose("b", map.get("a")); assertEqualsVerbose("world", map.get("hello")); assertEqualsVerbose(2, map.entrySet().size()); }
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: | 214 / 293 |
Referenced in: | #1031786 - test_SmallArrayBasedMap |