1 | static <A, B> LPair<A, B> zipPairsOfLists(LPair<L<A>, L<B>> l) { |
2 | new LPair<A, B> out; |
3 | for (Pair<L<A>, L<B>> p : unnull(l)) |
4 | if (l(p.a) == l(p.b)) |
5 | out.addAll(zipTwoListsToPairs(p.a, p.b)); |
6 | ret out; |
7 | } |
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: | 335 / 376 |
Version history: | 3 change(s) |
Referenced in: | [show references] |