1 | static <A> ArrayList<A> litlist(A... a) { |
2 | ArrayList l = new(a.length); |
3 | for (A x : a) l.add(x); |
4 | ret l; |
5 | } |
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: | 911 / 7452 |
Version history: | 2 change(s) |
Referenced in: | [show references] |