1 | static long maxL(Collection<Long> c) { |
2 | long x = Long.MIN_VALUE; |
3 | for (long i : c) x = max(x, i); |
4 | ret x; |
5 | } |
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: | 568 / 565 |
Referenced in: | [show references] |