Package org.python.modules.itertools
Class itertools
- java.lang.Object
-
- org.python.modules.itertools.itertools
-
- All Implemented Interfaces:
ClassDictInit
public class itertools extends java.lang.Object implements ClassDictInit
Functional tools for creating and using iterators. Java implementation of the CPython module itertools.- Since:
- 2.5
-
-
Field Summary
Fields Modifier and Type Field Description static PyString
__doc__
static PyString
__doc__tee
-
Constructor Summary
Constructors Constructor Description itertools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
classDictInit(PyObject dict)
static PyTuple
tee(PyObject iterable)
Create a pair of iterators, each of which is effectively a copy of iterable.static PyTuple
tee(PyObject iterable, int n)
Create a tuple of iterators, each of which is effectively a copy of iterable.
-