1 | static L<S> withoutEmpties(Collection<S> l) { |
2 | new L<S> out; |
3 | for (S s : unnull(l)) |
4 | if (nempty(s)) out.add(s); |
5 | ret out; |
6 | } |
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: | #1012387 |
Snippet name: | withoutEmpties |
Eternal ID of this version: | #1012387/1 |
Text MD5: | 1cd6f903163b2ebfbd4c5d12ce98c878 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-29 13:41:32 |
Source code size: | 134 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 463 / 446 |
Referenced in: | [show references] |