1 | static L<S> filterMinLength(int min, Collection<S> c) {
|
2 | new L<S> l; |
3 | for (S x : c) |
4 | if (l(x) >= min) |
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 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014355 |
| Snippet name: | filterMinLength |
| Eternal ID of this version: | #1014355/1 |
| Text MD5: | 0174d57370221bef96afcd006ba73d28 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-20 14:04:21 |
| Source code size: | 139 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 681 / 718 |
| Referenced in: | [show references] |