static <A> L<Pair> mapMethodLike pairsCollect(S field, Collection<Pair<A>> c) { ret map(c, p -> p == null ? null : pair(getOpt(p.a, field), getOpt(p.b, field))); }
Began life as a copy of #1003047
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: | #1022211 |
| Snippet name: | pairsCollect - collect field in both sides of pair |
| Eternal ID of this version: | #1022211/1 |
| Text MD5: | cc67b312aea67ef8637b492ebf0799a2 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-11 11:39:32 |
| Source code size: | 167 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 503 / 508 |
| Referenced in: | [show references] |