Libraryless. Click here for Pure Java version (37L/1K).
1 | static <A> Cl<A> synchronizedCollection(Cl<A> l) { |
2 | ifdef OurSyncCollections |
3 | ret new SynchronizedCollection(l); |
4 | endifdef |
5 | ifndef OurSyncCollections |
6 | ret Collections.synchronizedCollection(l); |
7 | endifndef |
8 | } |
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: | 134 / 179 |
Referenced in: | [show references] |