1 | static <A> List<A> ll(A... a) { |
2 | ArrayList l = new(a.length); |
3 | if (a != null) for (A x : a) l.add(x); |
4 | ret l; |
5 | } |
Began life as a copy of #1001047
download show line numbers debug dex old transpilations
Travelled to 20 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1003382 |
Snippet name: | ll - synonym of litlist (literal list) |
Eternal ID of this version: | #1003382/4 |
Text MD5: | c606d3955c93922d583f46d39ab85749 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-29 04:27:55 |
Source code size: | 118 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 967 / 2333 |
Version history: | 3 change(s) |
Referenced in: | [show references] |