net.ontopia.utils
Class GrabberIterator<O,G>
java.lang.Object
net.ontopia.utils.GrabberIterator<O,G>
- All Implemented Interfaces:
- java.util.Iterator<G>
public class GrabberIterator<O,G>
- extends java.lang.Object
- implements java.util.Iterator<G>
INTERNAL: An iterator that uses a grabber to grab object from another
iterator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iter
protected java.util.Iterator<O> iter
grabber
protected GrabberIF<O,G> grabber
GrabberIterator
public GrabberIterator(java.util.Iterator<O> iter,
GrabberIF<O,G> grabber)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<G>
next
public G next()
- Specified by:
next
in interface java.util.Iterator<G>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<G>
Copyright © 2000-2012 Ontopia.