1 | static <A> Collection<A> unwrapSynchronizedCollection(Collection<A> l) { |
2 | if (l cast Set) ret unwrapSynchronizedSet(l); |
3 | if (l cast L) ret unwrapSynchronizedList(l); |
4 | ret l; |
5 | } |
Began life as a copy of #1017787
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: | #1017789 |
Snippet name: | unwrapSynchronizedCollection |
Eternal ID of this version: | #1017789/1 |
Text MD5: | b2d9ce6e3bef6a928268b32b1e314f82 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-11 14:08:15 |
Source code size: | 182 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 426 / 465 |
Referenced in: | [show references] |