Libraryless. Click here for Pure Java version (2296L/15K).
static <A, B extends Iterable<A>> ItIt<A> unpackIteratorOfLists(Iterator<B> it) { ret nestedIterator(it, func(B l) -> Iterator<A> { iterator(l) }); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026125 |
Snippet name: | unpackIteratorOfLists - return one element at a time |
Eternal ID of this version: | #1026125/1 |
Text MD5: | 8d8adbcf33b92f7cd452b650a5c4549d |
Transpilation MD5: | 5a94c2f40e7c0d12efc288ba00acd20b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-25 20:28:35 |
Source code size: | 153 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 211 / 319 |
Referenced in: | [show references] |