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

8
LINES

< > BotCompany Repo | #1017248 // emptyCloseableIterableIterator

JavaX fragment (include)

static CloseableIterableIterator emptyCloseableIterableIterator_instance = new CloseableIterableIterator {
  public O next() { fail(); }
  public bool hasNext() { false; }
};

static <A> CloseableIterableIterator<A> emptyCloseableIterableIterator() {
  ret emptyCloseableIterableIterator_instance; 
}

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: 202 / 240
Referenced in: [show references]