1 | static long totalLength(Collection<? extends Collection> l) { |
2 | long n = 0; |
3 | if (l != null) for (Collection c : l) |
4 | n += l(c); |
5 | ret n; |
6 | } |
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: | 341 / 372 |
Referenced in: | [show references] |