|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.core.WrappedIterIterator<E>
public abstract class WrappedIterIterator<E>
Exposes a Python iter as a Java Iterator.
| Constructor Summary | |
|---|---|
WrappedIterIterator(PyObject iter)
|
|
| Method Summary | |
|---|---|
PyObject |
getNext()
|
boolean |
hasNext()
|
abstract E |
next()
Subclasses must implement this to turn the type returned by the iter to the type expected by Java. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WrappedIterIterator(PyObject iter)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<E>public abstract E next()
next in interface java.util.Iterator<E>public PyObject getNext()
public void remove()
remove in interface java.util.Iterator<E>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||