| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private itertools. | |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public | |
| 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 void | |
| private void | islice___init__(final PyObject iterable, PyObject
the index of where in the iterable to start returning values startObj, PyObject the index of where in the iterable to stop returning values stopObj, PyObject the number of steps to take between each call to stepObj)next()Creates an iterator that returns selected values from an iterable. |
| 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 |
| islice_doc | back to summary |
|---|---|
| public static final String islice_doc | |
| iter | back to summary |
|---|---|
| private itertools. | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| islice | back to summary |
|---|---|
| public islice() | |
| islice | back to summary |
|---|---|
| public islice(PyType subType) | |
| islice | back to summary |
|---|---|
| public islice(PyObject iterable, PyObject stopObj) | |
| islice | back to summary |
|---|---|
public islice(PyObject iterable, PyObject start, PyObject stopObj)
| |
| __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. | |
| islice___init__ | back to summary |
|---|---|
pack-priv final void islice___init__(PyObject[] args, String[] kwds)
| |
| islice___init__ | back to summary |
|---|---|
| private void islice___init__(final PyObject iterable, PyObject startObj, PyObject stopObj, PyObject stepObj) Creates an iterator that returns selected values from an iterable. | |
| 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
| |