Libraryless. Click here for Pure Java version (2734L/16K).
1 | static <A> L<A> unwrapSynchronizedList(L<A> l) { |
2 | ifdef OurSyncCollections |
3 | if (l cast SynchronizedList) ret l.list; |
4 | endifdef |
5 | if (eqOneOf(className(l), |
6 | "java.util.Collections$SynchronizedList", |
7 | "java.util.Collections$SynchronizedRandomAccessList")) |
8 | ret (L) get_raw(l, 'list); |
9 | ret l; |
10 | } |
Began life as a copy of #1017786
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017787 |
Snippet name: | unwrapSynchronizedList |
Eternal ID of this version: | #1017787/2 |
Text MD5: | c5db350b46a38f1ef150d669e29a6148 |
Transpilation MD5: | 4d896b1794a41cda04a0a9ee25bd4eaa |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-16 18:04:32 |
Source code size: | 315 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 459 / 559 |
Version history: | 1 change(s) |
Referenced in: | [show references] |