Libraryless. Click here for Pure Java version (2578L/16K).
1 | static <A, B extends Cl<A>> IntRange sizeRangeOfCollections(Iterable<B> l) { |
2 | IntRange r = null; |
3 | fOr (B c : l) |
4 | r = rangePlus(r, l(c)); |
5 | ret r; |
6 | } |
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: | #1028713 |
Snippet name: | sizeRangeOfCollections |
Eternal ID of this version: | #1028713/1 |
Text MD5: | d2615ef898f45f736654e99fe4499701 |
Transpilation MD5: | cf711050bfaecfe59e05f06439d7a116 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-06 00:05:46 |
Source code size: | 157 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 201 / 295 |
Referenced in: | [show references] |