Libraryless. Click here for Pure Java version (3321L/19K).
static <A, B> Map<A, B> toSortedArrayBasedMap(Map<A, B> map) { if (empty(map)) null; if (map instanceof SortedArrayBasedMap) ret map; ret new SortedArrayBasedMap(map); }
Began life as a copy of #1031047
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031060 |
Snippet name: | toSortedArrayBasedMap |
Eternal ID of this version: | #1031060/1 |
Text MD5: | 07ae5737a804ccc054ea5881b22e30dc |
Transpilation MD5: | c9b6da42f9091e325c6485f9f45724f1 |
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:09:14 |
Source code size: | 179 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 238 / 306 |
Referenced in: | [show references] |