| Modifier and Type | Field and Description |
|---|---|
| private PyObject | index
Current index of enumeration. |
| private PyObject | sit
Secondary iterator of enumeration. |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __iternext__()
Implements abstract org. Return the next element of the sequence that this is an iterator for. |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| public static final PyObject | |
| pack-priv final PyObject | |
| public PyObject | |
| public boolean | refersDirectlyTo(PyObject ob)
Overrides org. Implements org. Optional operation. |
| public int | traverse(Visitproc visit, Object arg)
Overrides org. Implements org. Traverses all directly contained |
| index | back to summary |
|---|---|
| private PyObject index Current index of enumeration. | |
| sit | back to summary |
|---|---|
| private PyObject sit Secondary iterator of enumeration. | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| PyEnumerate | back to summary |
|---|---|
| public PyEnumerate(PyType subType) | |
| PyEnumerate | back to summary |
|---|---|
| public PyEnumerate(PyType subType, PyObject seq, PyObject start) | |
| PyEnumerate | back to summary |
|---|---|
| public PyEnumerate(PyObject seq, PyObject start) | |
| __iternext__ | back to summary |
|---|---|
| public PyObject __iternext__() Implements abstract org. Doc from org. Return the next element of the sequence that this is an iterator for. Returns null when the end of the sequence is reached. | |
| enumerate___iter__ | back to summary |
|---|---|
pack-priv final PyObject enumerate___iter__()
| |
| enumerate___iternext__ | back to summary |
|---|---|
| pack-priv final PyObject enumerate___iternext__() | |
| enumerate_new | back to summary |
|---|---|
public static final PyObject enumerate_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
| |
| enumerate_next | back to summary |
|---|---|
pack-priv final PyObject enumerate_next()
| |
| next | back to summary |
|---|---|
| public PyObject next() Overrides org. Doc from org. The exposed next method. Note that exposed derivable subclasses of PyIterator should override next to call doNext(custom___iternext__), as __iternext__ is overridden by the Derived classes.
| |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Overrides org. Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Overrides org. Implements org. Doc from org. Traverses all directly contained
| |