1 | static <A, B extends Collection<A>> L<B> nemptyLists(Collection<B> l) { |
2 | if (l == null) null; |
3 | new L<B> out; |
4 | for (B x : l) |
5 | if (nempty(x)) |
6 | out.add(x); |
7 | ret out; |
8 | } |
Began life as a copy of #1013202
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021461 |
Snippet name: | nemptyLists |
Eternal ID of this version: | #1021461/4 |
Text MD5: | 05cd5b90548f681321c49d1d31a5f208 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-13 17:06:14 |
Source code size: | 183 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 282 / 296 |
Version history: | 3 change(s) |
Referenced in: | [show references] |