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

3
LINES

< > BotCompany Repo | #1035096 // intRangesIterator

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

Libraryless. Click here for Pure Java version (7940L/44K).

static ItIt<Int> intRangesIterator(Iterable<IntRange> l) {
  ret nestedIterator(l, r -> countIterator(r.start, r.end));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035096
Snippet name: intRangesIterator
Eternal ID of this version: #1035096/1
Text MD5: 0216b206ec49ef8090de91817b7c79ac
Transpilation MD5: d743385008d4c7d070a30128b97d2428
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-29 23:40:33
Source code size: 123 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 124 / 180
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)