|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValIterator<V extends Var>
An interface for control objects that model the iteration of (search) values associated to an Var
Method Summary | |
---|---|
int |
getFirstVal(V x)
Accessing the index of the first branch for variable x |
int |
getNextVal(V x,
int i)
generates the index of the next branch after branch i, on the alternative associated to variable x |
boolean |
hasNextVal(V x,
int i)
testing whether more branches can be considered after branch i, on the alternative associated to variable x |
Method Detail |
---|
boolean hasNextVal(V x, int i)
x
- the variable under scrutinyi
- the index of the last branch explored
int getFirstVal(V x)
x
- the variable under scrutiny
int getNextVal(V x, int i)
x
- the variable under scrutinyi
- the index of the last branch explored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |