static L<S> appendToAll(Collection<S> l, S s) { new L<S> out; for (S x : unnull(l)) out.add(x + s); ret out; } static L<S> appendToAll(S s, Collection<S> l) { ret appendToAll(l, s); }
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: | #1010995 |
Snippet name: | appendToAll |
Eternal ID of this version: | #1010995/2 |
Text MD5: | 40a6375b9c42479c3c31e28fbd66e90c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-03 20:06:55 |
Source code size: | 201 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 557 / 604 |
Version history: | 1 change(s) |
Referenced in: | [show references] |