static double collectMaxDouble(Collection c, S field) { double x = Double.NEGATIVE_INFINITY; for (O o : unnull(c)) { Double d = cast getOpt(o, field); if (d != null) x = max(x, d); } ret x; }
Began life as a copy of #1009136
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017397 |
Snippet name: | collectMaxDouble - max of double field |
Eternal ID of this version: | #1017397/3 |
Text MD5: | 44cc941c1e0cb6438810f742a382f78d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-19 19:02:46 |
Source code size: | 223 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 309 / 330 |
Version history: | 2 change(s) |
Referenced in: | [show references] |