static <A, B> CompactHashMap<A, B> toCompactHashMap(Map<A, B> map) { if (map == null) null; if (map cast CompactHashMap) ret map; new CompactHashMap<A, B> m; m.putAll(map); ret m; }
Began life as a copy of #1015751
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022125 |
Snippet name: | toCompactHashMap |
Eternal ID of this version: | #1022125/1 |
Text MD5: | f49a55740413ddf2ce06fc3b62504a6e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-08 00:36:28 |
Source code size: | 197 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 244 / 279 |
Referenced in: | [show references] |