1 | static L smallestList_toMutableList(O l) { |
2 | if (l == null) ret ll(); |
3 | if (l cast Pair) ret ll(l.a, l.b); |
4 | if (l cast T3) ret ll(l.a, l.b, l.c); |
5 | if (l ast O[]) ret new L(Arrays.asList(l)); |
6 | ret ll(l); |
7 | } |
Began life as a copy of #1011524
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1012282 |
Snippet name: | smallestList_toMutableList |
Eternal ID of this version: | #1012282/3 |
Text MD5: | 4ce596119679cb0ffed1887113966fde |
Author: | stefan |
Category: | javax / collections |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-27 00:00:36 |
Source code size: | 213 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 412 / 479 |
Version history: | 2 change(s) |
Referenced in: | [show references] |