Libraryless. Click here for Pure Java version (2787L/17K).
// works for both java.util-wrapped maps as well as our own static <A, B> Map<A, B> unwrapSynchronizedMap(Map<A, B> map) { if (eqOneOf(shortClassName(map), "SynchronizedMap", "SynchronizedSortedMap", "SynchronizedNavigableMap")) ret (Map) get_raw(map, 'm); ret map; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017786 |
Snippet name: | unwrapSynchronizedMap |
Eternal ID of this version: | #1017786/5 |
Text MD5: | fa965ab59583cfc91c4c7ce7b2001ec7 |
Transpilation MD5: | 7bb8f38439b013d4151d966180a2e59c |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-29 17:58:46 |
Source code size: | 295 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 472 / 574 |
Version history: | 4 change(s) |
Referenced in: | [show references] |