Class cycle

All Implemented Interfaces:
Serializable, Iterable<Object>, Traverseproc
Direct Known Subclasses:
cycleDerived

public class cycle extends PyIterator
See Also:
  • Field Details

  • Constructor Details

    • cycle

      public cycle()
    • cycle

      public cycle(PyType subType)
    • cycle

      public cycle(PyObject sequence)
      Creates an iterator that iterates over an iterable, saving the values for each iteration. When the iterable is exhausted continues to iterate over the saved values indefinitely.
  • Method Details