static <A, B> LPair<A, B> zipPairsOfLists(LPair<L<A>, L<B>> l) { new LPair<A, B> out; for (Pair<L<A>, L<B>> p : unnull(l)) if (l(p.a) == l(p.b)) out.addAll(zipTwoListsToPairs(p.a, p.b)); ret out; }
Began life as a copy of #1020650
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: | #1020651 |
| Snippet name: | zipPairsOfLists - filters by equal size first |
| Eternal ID of this version: | #1020651/4 |
| Text MD5: | 209d4563d392f675fe31797dd717ccde |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-30 11:59:16 |
| Source code size: | 219 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 578 / 626 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |