1 | static long totalLongRangesLength(Iterable<LongRange> l) { |
2 | long total = 0; |
3 | fOr (LongRange r : l) total += r.length(); |
4 | ret total; |
5 | } |
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: | 178 / 210 |
Referenced in: | [show references] |