Transpiled version (2747L) is out of date.
static <A, B> HashMap<A, B> asHashMap(Map<A, B> map) { // check for precise type to reject LinkedHashMap if (map != null && map.getClass() == HashMap.class) ret (HashMap) map; HashMap<A, B> m = new HashMap(l(map)); if (map != null) m.putAll(map); ret m; }
Began life as a copy of #1012402
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1015751 |
Snippet name: | asHashMap |
Eternal ID of this version: | #1015751/7 |
Text MD5: | 3436ec9f05fa483bb2a08461a8ccef38 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-25 07:23:28 |
Source code size: | 275 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 445 / 589 |
Version history: | 6 change(s) |
Referenced in: | [show references] |