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

5
LINES

< > BotCompany Repo | #1029732 // syncLengthLevel2 - recursive length of collection of collections

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2513L/16K).

static <A> int syncLengthLevel2(Cl<? extends Cl> l) {
  int sum = 0;
  for (Collection c : cloneList(l)) sum += syncL(c);
  ret sum;
}

Author comment

Began life as a copy of #1008788

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: #1029732
Snippet name: syncLengthLevel2 - recursive length of collection of collections
Eternal ID of this version: #1029732/1
Text MD5: 59cd85850236fa4678d7589e656176e3
Transpilation MD5: cd545ae248d97c3d31b382272d8ac29b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-09 14:48:14
Source code size: 138 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 175 / 244
Referenced in: [show references]