public class DisposableValueBoundIterator extends DisposableValueIterator
Constructor and Description |
---|
DisposableValueBoundIterator(IntVar var) |
Modifier and Type | Method and Description |
---|---|
void |
bottomUpInit() |
boolean |
hasNext()
Returns true if the iteration has more values.
|
boolean |
hasPrevious()
Returns true if the iteration has more ranges.
|
int |
next()
Compute and return the next value.
|
int |
previous()
Compute and return the next value.
|
void |
topDownInit() |
dispose, init, isReusable, remove
public DisposableValueBoundIterator(IntVar var)
public void bottomUpInit()
bottomUpInit
in interface ValueIterator
bottomUpInit
in class DisposableValueIterator
public void topDownInit()
topDownInit
in interface ValueIterator
topDownInit
in class DisposableValueIterator
public boolean hasNext()
ValueIterator
public boolean hasPrevious()
ValueIterator
public int next()
ValueIterator
public int previous()
ValueIterator
Copyright © 2015. All rights reserved.