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

6
LINES

< > BotCompany Repo | #1028171 // totalLineCount

JavaX fragment (include)

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

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: 120 / 161
Referenced in: [show references]