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

10
LINES

< > BotCompany Repo | #1004285 - IterableIterator

JavaX fragment (include)

// you still need to implement hasNext() and next()
static abstract class IterableIterator<A> implements Iterator<A>, Iterable<A> {
  public Iterator<A> iterator() {
    ret this;
  }
  
  public void remove() {
    unsupportedOperation();
  }
}

download  show line numbers  debug dex   

Travelled to 14 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, podlckwnjdmb, ppjhyzlbdabe, tslmcundralx, tvejysmllsmz, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1004285
Snippet name: IterableIterator
Eternal ID of this version: #1004285/1
Text MD5: fb896f23c0fa337d8a8fbab5a8a214c7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-12 18:24:42
Source code size: 254 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 2329
Referenced in: [show references]

Formerly at http://tinybrain.de/1004285 & http://1004285.tinybrain.de