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

8
LINES

< > BotCompany Repo | #1036408 // synchronizedCollection

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (37L/1K).

static <A> Cl<A> synchronizedCollection(Cl<A> l) {
  ifdef OurSyncCollections
    ret new SynchronizedCollection(l);
  endifdef
  ifndef OurSyncCollections
    ret Collections.synchronizedCollection(l);
  endifndef
}

Author comment

Began life as a copy of #1001068

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036408
Snippet name: synchronizedCollection
Eternal ID of this version: #1036408/1
Text MD5: 1878db99d71bce13a2080ca1317945c2
Transpilation MD5: a2b1c147e049d4f7345effd9037bd0fc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-11 13:43:39
Source code size: 225 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 58 / 87
Referenced in: [show references]