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: 909 / 7449
Version history: 2 change(s)
Referenced in: [show references]