Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1011338 // shortestList - return shortest of a number of lists

JavaX fragment (include)

static <A> L<A> shortestList(LL<A> lists) {
  new Lowest<L<A>> best;
  for (L<A> l : lists)
    best.put(l, l(l));
  ret best!;
}

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: 386 / 418
Referenced in: [show references]