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

3
LINES

< > BotCompany Repo | #1004298 // iterable - make Iterable<A> from Iterator<A>

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

Libraryless. Click here for Pure Java version (28L/1K).

1  
static <A> Iterable<A> iterable(Iterator<A> i) {
2  
  ret () -> i;
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004298
Snippet name: iterable - make Iterable<A> from Iterator<A>
Eternal ID of this version: #1004298/2
Text MD5: dbcf527a36fb11eca3d36fc95079efea
Transpilation MD5: f02e4f91ad0b46b57ee3983d7ff1838a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-06 19:12:02
Source code size: 67 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 622 / 678
Version history: 1 change(s)
Referenced in: [show references]