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

5
LINES

< > BotCompany Repo | #1024621 // totalLengthOfDoubleRanges

JavaX fragment (include)

static double totalLengthOfDoubleRanges(Iterable<DoubleRange> l) {
  double sum = 0;
  fOr (DoubleRange r : l) sum += r.length();
  ret sum;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024621
Snippet name: totalLengthOfDoubleRanges
Eternal ID of this version: #1024621/2
Text MD5: 2ff7ecbbb8d9d826806bece4687cdc57
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 14:44:33
Source code size: 146 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 204 / 248
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)