Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      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:
Loggable, ParameterConstraint<P>
Direct Known Subclasses:
GreaterConstraint, GreaterEqualConstraint, LessConstraint, LessEqualConstraint, ListGreaterEqualConstraint

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

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

Author:
Elke Achtert

Field Summary
(package private)  Number constraintValue
          The constraint value.
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Constructor Summary
AbstractNumberConstraint(Number constraintValue)
          Creates an abstract number constraint.
 
Method Summary
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning
 
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
 
Methods inherited from interface de.lmu.ifi.dbs.elki.logging.Loggable
debugFine, debugFiner, debugFinest, exception, message, progress, progress, verbose, verbose, warning
 

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.1 (2008-07-10_1838)