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

8
LINES

< > BotCompany Repo | #1017248 // emptyCloseableIterableIterator

JavaX fragment (include)

1  
static CloseableIterableIterator emptyCloseableIterableIterator_instance = new CloseableIterableIterator {
2  
  public O next() { fail(); }
3  
  public bool hasNext() { false; }
4  
};
5  
6  
static <A> CloseableIterableIterator<A> emptyCloseableIterableIterator() {
7  
  ret emptyCloseableIterableIterator_instance; 
8  
}

Author comment

Began life as a copy of #1011464

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017248
Snippet name: emptyCloseableIterableIterator
Eternal ID of this version: #1017248/1
Text MD5: cca1abcfa7311f72c889ce59e242e1df
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-15 15:44:45
Source code size: 307 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 330 / 369
Referenced in: [show references]