public class DisposableRangeBoundIterator extends DisposableRangeIterator
Constructor and Description |
---|
DisposableRangeBoundIterator(IntVar var) |
Modifier and Type | Method and Description |
---|---|
void |
bottomUpInit() |
boolean |
hasNext()
Returns true if the iteration has more ranges.
|
boolean |
hasPrevious()
Returns true if the iteration has more ranges.
|
int |
max()
Return the upper bound of the current range (inclusive)
|
int |
min()
Return the lower bound of the current range (inclusive)
|
void |
next()
Compute the next range.
|
void |
previous()
Compute the previous range.
|
void |
topDownInit() |
dispose, init, isNotReusable, remove
public DisposableRangeBoundIterator(IntVar var)
public void bottomUpInit()
bottomUpInit
in interface RangeIterator
bottomUpInit
in class DisposableRangeIterator
public void topDownInit()
topDownInit
in interface RangeIterator
topDownInit
in class DisposableRangeIterator
public boolean hasNext()
RangeIterator
public boolean hasPrevious()
RangeIterator
public void next()
RangeIterator
public void previous()
RangeIterator
public int min()
RangeIterator
public int max()
RangeIterator
Copyright © 2018. All rights reserved.