de.lmu.ifi.dbs.elki.utilities.optionhandling.constraints
Class AbstractNumberConstraint<P>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.constraints.AbstractNumberConstraint<P>
Type Parameters:
P - the type of the parameter to be tested by this constraint (e.g., Number, List)
All Implemented Interfaces:
ParameterConstraint<P>
Direct Known Subclasses:
GreaterConstraint, GreaterEqualConstraint, LessConstraint, LessEqualConstraint, ListGreaterEqualConstraint

public abstract class AbstractNumberConstraint<P>
extends Object
implements ParameterConstraint<P>

Abstract super class for constraints dealing with a certain number value.


Field Summary
(package private)  Number constraintValue
          The constraint value.
 
Constructor Summary
AbstractNumberConstraint(Number constraintValue)
          Creates an abstract number constraint.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.constraints.ParameterConstraint
getDescription, test
 

Field Detail

constraintValue

final Number constraintValue
The constraint value.

Constructor Detail

AbstractNumberConstraint

public AbstractNumberConstraint(Number constraintValue)
Creates an abstract number constraint.

Parameters:
constraintValue - the constraint value

Release 0.4.0 (2011-09-20_1324)