1 | static <A, B> L<A> firstOfPairs(Collection<Pair<A, B>> l) { |
2 | new L<A> out; |
3 | for (Pair<A, B> p : unnull(l)) out.add(firstOfPair(p)); |
4 | ret out; |
5 | } |
Began life as a copy of #1009341
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: | #1009342 |
Snippet name: | firstOfPairs |
Eternal ID of this version: | #1009342/3 |
Text MD5: | 18dacf79262947974e010773a3910255 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-05 03:36:22 |
Source code size: | 150 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 579 / 643 |
Version history: | 2 change(s) |
Referenced in: | [show references] |