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).

1  
static <A> ItIt<A> concatIterators(Iterator<A>... l) {
2  
  ret concatIterators(asList(l));
3  
}
4  
5  
static <A> ItIt<A> concatIterators(L<Iterator<A>> l) {
6  
  ret nestedIterator(l, it -> it);
7  
}

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: 148 / 231
Version history: 2 change(s)
Referenced in: [show references]