Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1029337 // totalLongRangesLength

JavaX fragment (include)

static long totalLongRangesLength(Iterable<LongRange> l) {
  long total = 0;
  fOr (LongRange r : l) total += r.length();
  ret total;
}

Author comment

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: 104 / 129
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)