static long totalLongRangesLength(Iterable<LongRange> l) { long total = 0; fOr (LongRange r : l) total += r.length(); ret total; }
Began life as a copy of #1028627
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: | #1029337 |
Snippet name: | totalLongRangesLength |
Eternal ID of this version: | #1029337/1 |
Text MD5: | ad915aac617117efde1bce8fa96ce92c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-01 12:50:58 |
Source code size: | 140 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 177 / 209 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |