Top Fields Constructors Methods
org.python.core

public Class JavaIterator

extends PyIterator
Class Inheritance
Imports
java.util.Iterator

Field Summary

Modifier and TypeField and Description
private final Iterator<Object>
Inherited from org.python.core.PyIterator:
__doc__nextstopException

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public PyObject
__iternext__()

Implements abstract org.python.core.PyIterator.__iternext__.

Return the next element of the sequence that this is an iterator for.

Inherited from org.python.core.PyIterator:
__iter____tojava__doNextiteratornextrefersDirectlyTotraverse

Field Detail

proxyback to summary
private final Iterator<Object> proxy

Constructor Detail

JavaIteratorback to summary
public JavaIterator(Iterable<Object> proxy)
JavaIteratorback to summary
public JavaIterator(Iterator<Object> proxy)

Method Detail

__iternext__back to summary
public PyObject __iternext__()

Implements abstract org.python.core.PyIterator.__iternext__.

Doc from org.python.core.PyObject.__iternext__.

Return the next element of the sequence that this is an iterator for. Returns null when the end of the sequence is reached.