Top Fields Constructors Methods
org.python.core

public Class PyTupleIterator

extends PyIterator
Class Inheritance
Annotations
@ExposedType
name:tupleiterator
base:PyIterator
isBaseType:false
Imports
org.python.expose.ExposedType, java.util.Iterator

Field Summary

Modifier and TypeField and Description
private Iterator<PyObject>
public static final PyType
Inherited from org.python.core.PyIterator:
__doc__nextstopException

Constructor Summary

AccessConstructor and Description
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

iteratorback to summary
private Iterator<PyObject> iterator
TYPEback to summary
public static final PyType TYPE

Hides org.python.core.PyObject.TYPE.

Constructor Detail

PyTupleIteratorback to summary
public PyTupleIterator(PyTuple tuple)

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.