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   

Travelled to 11 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, tslmcundralx, tvejysmllsmz, whxojlpjdney

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

Formerly at http://tinybrain.de/1001047 & http://1001047.tinybrain.de