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

6
LINES

< > BotCompany Repo | #1028171 // totalLineCount

JavaX fragment (include)

1  
static long totalLineCount(Iterable<S> l) {
2  
  long n = 0;
3  
  if (l != null) for (S s : l)
4  
    n += countLines(s);
5  
  ret n;
6  
}

Author comment

Began life as a copy of #1014815

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: #1028171
Snippet name: totalLineCount
Eternal ID of this version: #1028171/1
Text MD5: 2636224263fd88026d06313b2f6c7b5a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-25 13:09:48
Source code size: 128 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 183 / 226
Referenced in: [show references]