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, removepublic DisposableRangeBoundIterator(IntVar var)
public void bottomUpInit()
bottomUpInit in interface RangeIteratorbottomUpInit in class DisposableRangeIteratorpublic void topDownInit()
topDownInit in interface RangeIteratortopDownInit in class DisposableRangeIteratorpublic boolean hasNext()
RangeIteratorpublic boolean hasPrevious()
RangeIteratorpublic void next()
RangeIteratorpublic void previous()
RangeIteratorpublic int min()
RangeIteratorpublic int max()
RangeIteratorCopyright © 2017. All rights reserved.