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

3
LINES

< > BotCompany Repo | #1012657 // shortestList2 - return shortest of 2 lists; no special handling of null

JavaX fragment (include)

static <A> L<A> shortestList2(L<A> a, L<A> b) {
  ret l(a) < l(b) ? a : b;
}

Author comment

Began life as a copy of #1012050

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: #1012657
Snippet name: shortestList2 - return shortest of 2 lists; no special handling of null
Eternal ID of this version: #1012657/6
Text MD5: aa4185ec2034729e6c6352e0a32e49ff
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-10 00:55:29
Source code size: 78 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 301 / 334
Version history: 5 change(s)
Referenced in: [show references]