1 | static <A> L<A> shortestList(LL<A> lists) { |
2 | new Lowest<L<A>> best; |
3 | for (L<A> l : lists) |
4 | best.put(l, l(l)); |
5 | ret best!; |
6 | } |
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: | #1011338 |
Snippet name: | shortestList - return shortest of a number of lists |
Eternal ID of this version: | #1011338/1 |
Text MD5: | 5027e860765ac067afd9da3ac85cd03e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-25 00:49:07 |
Source code size: | 134 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 501 / 522 |
Referenced in: | [show references] |