1 | static <A extends Collection> L<A> nemptyCollections(Collection<A> c) { |
2 | new L<A> l; |
3 | for (A x : unnull(c)) |
4 | if (nempty(x)) |
5 | l.add(x); |
6 | ret l; |
7 | } |
Began life as a copy of #1005053
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020086 |
Snippet name: | nemptyCollections - only non-empty collections |
Eternal ID of this version: | #1020086/4 |
Text MD5: | 8785af5014b7a8b5bac8690dd890312e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-06 21:30:33 |
Source code size: | 161 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 258 / 273 |
Version history: | 3 change(s) |
Referenced in: | [show references] |