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

5
LINES

< > BotCompany Repo | #1035754 // totalSizeInInts

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

Libraryless. Click here for Pure Java version (9168L/50K).

1  
static long totalSizeInInts(Iterable<? extends SizeInInts> l) {
2  
  long sum = 0;
3  
  fOr (a : l) if (a != null) sum += a.sizeInInts();
4  
  ret sum;
5  
}

Author comment

Began life as a copy of #1035710

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035754
Snippet name: totalSizeInInts
Eternal ID of this version: #1035754/1
Text MD5: 8cfdd88f2f36dee22b3d0a6b2737b65c
Transpilation MD5: ea5c9987f1e3b47cc4d2aed61c3e6cf3
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-19 23:38:27
Source code size: 148 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 212
Referenced in: [show references]