Libraryless. Click here for Pure Java version (2615L/16K).
static long totalIntRangesLength(Iterable<IntRange> l) { long total = 0; fOr (IntRange r : l) total += r.length(); ret total; }
Began life as a copy of #1024103
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028627 |
Snippet name: | totalIntRangesLength |
Eternal ID of this version: | #1028627/1 |
Text MD5: | d512c0386268d5800f4d61d8bd1c5d09 |
Transpilation MD5: | 81620b799986952dc983f8a444763b75 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-29 11:49:39 |
Source code size: | 137 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 298 |
Referenced in: | [show references] |