Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1017789 // unwrapSynchronizedCollection

JavaX fragment (include)

static <A> Collection<A> unwrapSynchronizedCollection(Collection<A> l) {
  if (l cast Set) ret unwrapSynchronizedSet(l);
  if (l cast L) ret unwrapSynchronizedList(l);
  ret l;
}

Author comment

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: 424 / 462
Referenced in: [show references]