static <A, B> HashMap<A, B> cloneAsHashMap(Map<A, B> map) { if (map == null) ret litmap(); synchronized(map) { ret new HashMap(map); } }
Began life as a copy of #1002559
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016188 |
Snippet name: | cloneAsHashMap |
Eternal ID of this version: | #1016188/1 |
Text MD5: | 24b131c61dd267cffc6a15f91dc39791 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-09 17:17:12 |
Source code size: | 151 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 447 / 458 |
Referenced in: | [show references] |