1 | static <A, B, C extends Collection<A>> LPair<C, B> pairsWhereLengthOfABiggerThan(Collection<Pair<C, B>> c, int n) { |
2 | new LPair<C, B> l; |
3 | for (Pair<C, B> p : unnull(c)) |
4 | if (p != null && l(p.a) > n) |
5 | l.add(p); |
6 | ret l; |
7 | } |
Began life as a copy of #1017071
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: | #1021395 |
Snippet name: | pairsWhereLengthOfABiggerThan |
Eternal ID of this version: | #1021395/4 |
Text MD5: | 1472a896a66726b3baef30791de93a09 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-10 17:54:16 |
Source code size: | 235 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 239 / 284 |
Version history: | 3 change(s) |
Referenced in: | [show references] |