Class combinationsWithReplacement

    • Field Detail

      • TYPE

        public static final PyType TYPE
      • combinations_with_replacement_doc

        public static final java.lang.String combinations_with_replacement_doc
        See Also:
        Constant Field Values
    • Constructor Detail

      • combinationsWithReplacement

        public combinationsWithReplacement()
      • combinationsWithReplacement

        public combinationsWithReplacement​(PyType subType)
      • combinationsWithReplacement

        public combinationsWithReplacement​(PyObject iterable,
                                           int r)
    • 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
      • next

        public PyObject next()
        Description copied from class: PyIterator
        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.
        Overrides:
        next in class PyIterator
        Returns:
        a PyObject result