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

6
LINES

< > BotCompany Repo | #1015254 // totalLength - of collections

JavaX fragment (include)

static long totalLength(Collection<? extends Collection> l) {
  long n = 0;
  if (l != null) for (Collection c : l)
    n += l(c);
  ret n;
}

Author comment

Began life as a copy of #1010876

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015254
Snippet name: totalLength - of collections
Eternal ID of this version: #1015254/1
Text MD5: 9b072edf9e717ea5e76ce1776f764e5a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-11 03:07:29
Source code size: 146 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 260 / 295
Referenced in: [show references]