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

4
LINES

< > BotCompany Repo | #1031053 // cloneCollection

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

Libraryless. Click here for Pure Java version (2748L/16K).

1  
static <A> Cl<A> cloneCollection(Cl<A> l) {
2  
  if (l cast Set) ret cloneSet(l);
3  
  ret cloneList(l);
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031053
Snippet name: cloneCollection
Eternal ID of this version: #1031053/1
Text MD5: 7d4014a666324043d8d53eb98c639b38
Transpilation MD5: b608a0cb5dd49c785824581d35e7876b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-26 16:04:37
Source code size: 103 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 160 / 220
Referenced in: [show references]