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

5
LINES

< > BotCompany Repo | #1024103 // totalLengthOfStrings

JavaX fragment (include)

1  
static long totalLengthOfStrings(Iterable<S> l) {
2  
  long total = 0;
3  
  fOr (S s : l) total += l(s);
4  
  ret total;
5  
}

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: #1024103
Snippet name: totalLengthOfStrings
Eternal ID of this version: #1024103/1
Text MD5: 7d79a444a3f828ff7df80c95ca6e72e6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-20 19:39:05
Source code size: 117 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 202 / 253
Referenced in: [show references]