etomica.compatibility
Class NumericFeature

java.lang.Object
  extended by etomica.compatibility.Feature
      extended by etomica.compatibility.NumericFeature
All Implemented Interfaces:
Serializable

public class NumericFeature
extends Feature
implements Serializable

See Also:
Serialized Form

Field Summary
 double value
           
 
Fields inherited from class etomica.compatibility.Feature
CONTAINS, GREATER_THAN, INCOMPATIBLE_TYPES, IS_EMPTY, IS_EQUAL, LESS_THAN, name
 
Constructor Summary
NumericFeature(String aname, double avalue)
           
 
Method Summary
 int compareTo(Feature feat)
           
 boolean compareTo(int operator, Feature feat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public double value
Constructor Detail

NumericFeature

public NumericFeature(String aname,
                      double avalue)
Method Detail

compareTo

public int compareTo(Feature feat)
Specified by:
compareTo in class Feature

compareTo

public boolean compareTo(int operator,
                         Feature feat)
Specified by:
compareTo in class Feature