javax.constraints.impl.search.selectors
Class ValueSelectorMin

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

public class ValueSelectorMin
extends java.lang.Object
implements ValueSelector

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


Constructor Summary
ValueSelectorMin()
           
 
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

ValueSelectorMin

public ValueSelectorMin()
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