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

5
LINES

< > BotCompany Repo | #1004865 // maxL - max of longs

JavaX fragment (include)

static long maxL(Collection<Long> c) {
  long x = Long.MIN_VALUE;
  for (long i : c) x = max(x, i);
  ret x;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004865
Snippet name: maxL - max of longs
Eternal ID of this version: #1004865/1
Text MD5: f755d649f822e2ce7d8d4ee847bf337c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-07 19:28:22
Source code size: 116 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 569 / 565
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009136 - collectMaxLong - max of long field