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

5
LINES

< > BotCompany Repo | #1001047 // litlist (literal list)

JavaX fragment (include)

static <A> ArrayList<A> litlist(A... a) {
  ArrayList l = new(a.length);
  for (A x : a) l.add(x);
  ret l;
}

Author comment

Began life as a copy of #1000999

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001047
Snippet name: litlist (literal list)
Eternal ID of this version: #1001047/3
Text MD5: ec838cec19d05073a28f63cb77741781
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-05 07:13:47
Source code size: 113 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 910 / 7450
Version history: 2 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1003382 - ll - synonym of litlist (literal list)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011800 - litLinkedList (literal LinkedList)
#1023893 - litlinkedlist (literal LinkedList)