static Int intRangeMax(IntRange... l) { Int max = 0; for (IntRange r : l) if (r != null && (max == null || r.end > max)) max = r.end; ret max; }
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: | #1008724 |
Snippet name: | intRangeMax - get maximum end value of int ranges |
Eternal ID of this version: | #1008724/1 |
Text MD5: | 6a72b6604480de28f65be8657cf50e00 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-30 17:27:16 |
Source code size: | 166 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 509 / 512 |
Referenced in: | [show references] |