javax.constraints.impl.search.selectors
Class ValueSelectorMax

java.lang.Object
  extended by javax.constraints.impl.search.selectors.ValueSelectorMax
All Implemented Interfaces:
ValueSelector

public class ValueSelectorMax
extends java.lang.Object
implements ValueSelector

This selector selects the largest value from the domain of a constrained variable.


Constructor Summary
ValueSelectorMax()
           
 
Method Summary
 ValueSelectorType getType()
           
 int select(Var var)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueSelectorMax

public ValueSelectorMax()
Method Detail

getType

public ValueSelectorType getType()
Specified by:
getType in interface ValueSelector

select

public final int select(Var var)
Specified by:
select in interface ValueSelector