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

8
LINES

< > BotCompany Repo | #1011464 // emptyIterableIterator

JavaX fragment (include)

static IterableIterator emptyIterableIterator_instance = new IterableIterator {
  public O next() { fail(); }
  public bool hasNext() { false; }
};

static <A> IterableIterator<A> emptyIterableIterator() {
  ret emptyIterableIterator_instance; 
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011464
Snippet name: emptyIterableIterator
Eternal ID of this version: #1011464/3
Text MD5: 83e76d3f058fabee55275525794dd759
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-29 21:14:25
Source code size: 253 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 457 / 509
Version history: 2 change(s)
Referenced in: [show references]