Class DisposableRangeBoundIterator

    • Constructor Detail

      • DisposableRangeBoundIterator

        public DisposableRangeBoundIterator​(IntVar var)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Description copied from interface: RangeIterator
        Returns true if the iteration has more ranges. (In other words, returns true if next would return a valid range.)
        Returns:
        true if the getIterator has more ranges.
      • hasPrevious

        public boolean hasPrevious()
        Description copied from interface: RangeIterator
        Returns true if the iteration has more ranges. (In other words, returns true if previous would return a valid range.)
        Returns:
        true if the getIterator has more ranges.
      • next

        public void next()
        Description copied from interface: RangeIterator
        Compute the next range.
      • previous

        public void previous()
        Description copied from interface: RangeIterator
        Compute the previous range.
      • min

        public int min()
        Description copied from interface: RangeIterator
        Return the lower bound of the current range (inclusive)
        Returns:
        lower bound of the current range
      • max

        public int max()
        Description copied from interface: RangeIterator
        Return the upper bound of the current range (inclusive)
        Returns:
        upper bound of the current range