static <A, B> Map<A, B> toSmallArrayBasedMap(Map<A, B> map) { if (empty(map)) null; if (map instanceof SmallArrayBasedMap) ret map; ret new SmallArrayBasedMap(map); }
Began life as a copy of #1031060
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031785 |
| Snippet name: | toSmallArrayBasedMap |
| Eternal ID of this version: | #1031785/1 |
| Text MD5: | ea971c73ca4a23f791e0c2108ffdb426 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-29 18:44:16 |
| Source code size: | 176 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 359 / 408 |
| Referenced in: | [show references] |