|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.constraints.impl.search.selectors.AbstractVarSelector
public abstract class AbstractVarSelector
This abstract defines an interface for the selection of the constrained variable from a given array of variables.
| Constructor Summary | |
|---|---|
AbstractVarSelector(SearchStrategy strategy)
Constructor from SearchStrategy |
|
| Method Summary | |
|---|---|
SearchStrategy |
getSearchStrategy()
Return a search strategy with which this selector is associated |
Var[] |
getVars()
Returns the array of constrained variables upon which this selector was defined. |
abstract int |
select()
Returns the index of the selected variable in the array of constrained variables passed to the selector as a constructor parameter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.constraints.VarSelector |
|---|
getType |
| Constructor Detail |
|---|
public AbstractVarSelector(SearchStrategy strategy)
| Method Detail |
|---|
public final SearchStrategy getSearchStrategy()
getSearchStrategy in interface VarSelectorpublic final Var[] getVars()
VarSelector
getVars in interface VarSelectorpublic abstract int select()
select in interface VarSelector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||