|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imemex.operators.impl.AdaptedIterator<E>
public class AdaptedIterator<E>
Adapts a PullOperator to an Iterator by correctly handling the calls to open and close in the pull operator.
| Constructor Summary | |
|---|---|
AdaptedIterator(PullOperator<E> operator)
Instantiates a new AdaptedIterator. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
E |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdaptedIterator(PullOperator<E> operator)
| Method Detail |
|---|
public void remove()
remove in interface java.util.Iterator<E>public boolean hasNext()
hasNext in interface java.util.Iterator<E>public E next()
next in interface java.util.Iterator<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||