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

7
LINES

< > BotCompany Repo | #1018335 // cloneListOrNull

JavaX fragment (include)

static <A> ArrayList<A> cloneListOrNull(Iterable<A> l) {
  ret l == null ? null : cloneList(l);
}

static <A> ArrayList<A> cloneListOrNull(Collection<A> l) {
  ret l == null ? null : cloneList(l);
}

Author comment

Began life as a copy of #1001634

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018335
Snippet name: cloneListOrNull
Eternal ID of this version: #1018335/1
Text MD5: 194bb1ca799a95fcec6144e0856033b5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-19 21:33:48
Source code size: 204 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 427 / 454
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)