Class PyXRangeIter

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<java.lang.Object>, Traverseproc

    public class PyXRangeIter
    extends PyIterator
    Specially optimized xrange iterator.
    See Also:
    Serialized Form
    • Field Detail

      • TYPE

        public static final PyType TYPE
    • Constructor Detail

      • PyXRangeIter

        public PyXRangeIter​(long index,
                            long start,
                            long step,
                            long len)
    • Method Detail

      • __iternext__

        public PyObject __iternext__()
        Description copied from class: PyObject
        Return the next element of the sequence that this is an iterator for. Returns null when the end of the sequence is reached.
        Specified by:
        __iternext__ in class PyIterator