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

7
LINES

< > BotCompany Repo | #1028579 // concatIterators

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

Libraryless. Click here for Pure Java version (10226L/56K).

static <A> ItIt<A> concatIterators(Iterator<A>... l) {
  ret concatIterators(asList(l));
}

static <A> ItIt<A> concatIterators(L<Iterator<A>> l) {
  ret nestedIterator(l, it -> it);
}

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: #1028579
Snippet name: concatIterators
Eternal ID of this version: #1028579/3
Text MD5: c527fdc1e37a0d12b32987abbad19694
Transpilation MD5: a439ea85c1c556f9e8d7c3afac5226c5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-03-14 21:12:27
Source code size: 189 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 324
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1036577 - concatIterators2