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

3
LINES

< > BotCompany Repo | #1012372 - toArrayList

JavaX fragment (include)

static <A> ArrayList<A> toArrayList(Cl<A> l) {
  ret l instanceof ArrayList ? (ArrayList) l : cloneList(l);
}

Author comment

Began life as a copy of #1012371

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012372
Snippet name: toArrayList
Eternal ID of this version: #1012372/3
Text MD5: cb6aae9183ccaf264cbed6a97a152d0a
Author: stefan
Category: javax / collections
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-27 17:15:46
Source code size: 111 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 301 / 302
Version history: 2 change(s)
Referenced in: [show references]