Libraryless. Click here for Pure Java version (10038L/55K).
static long collectMinLong(Collection c, S field) { long x = Long.MAX_VALUE; for (O o : unnull(c)) { Long l = cast getOpt(o, field); if (l != null) x = min(x, (long) l); } ret x; }
Began life as a copy of #1009136
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: | #1009137 |
Snippet name: | collectMinLong - min of long field |
Eternal ID of this version: | #1009137/4 |
Text MD5: | 03767a7c76577c3ee96a1325a6c6c809 |
Transpilation MD5: | 1dd2bd09ada6070509aba5745c309500 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-02-19 00:54:43 |
Source code size: | 212 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 630 / 676 |
Version history: | 3 change(s) |
Referenced in: | [show references] |