static <A> L<A> combineLists(L<A> a, L<A> b) { if (empty(a)) ret b; if (empty(b)) ret a; if (!a instanceof CombinedList) a = combinedList_ll(a); a/CombinedList.addList(b); ret a; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012647 |
Snippet name: | combineLists - make CombinedList |
Eternal ID of this version: | #1012647/1 |
Text MD5: | ed60a2e218132e5970da156d306995af |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-09 23:45:36 |
Source code size: | 196 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 435 / 500 |
Referenced in: | [show references] |