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

6
LINES

< > BotCompany Repo | #1028713 // sizeRangeOfCollections

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

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

static <A, B extends Cl<A>> IntRange sizeRangeOfCollections(Iterable<B> l) {
  IntRange r = null;
  fOr (B c : l)
    r = rangePlus(r, l(c));
  ret r;
}

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: 200 / 293
Referenced in: [show references]