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

5
LINES

< > BotCompany Repo | #1035185 // tempRestoreCollection

JavaX fragment (include)

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

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: 160 / 167
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035186 - tempRestoreMap