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

5
LINES

< > BotCompany Repo | #1035185 // tempRestoreCollection

JavaX fragment (include)

1  
static <A> AutoCloseable tempRestoreCollection(Cl<A> l) {
2  
  if (l == null) null;
3  
  var cloned = cloneList(l);
4  
  ret -> copyCollection(cloned, l);
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035185
Snippet name: tempRestoreCollection
Eternal ID of this version: #1035185/2
Text MD5: 8471fcee56d44f4e8df3d7dd48279fdc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-05 22:55:45
Source code size: 151 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 159 / 166
Version history: 1 change(s)
Referenced in: [show references]