fingerprinters.features
Class NumericStringFeature

java.lang.Object
  extended by fingerprinters.features.NumericStringFeature
All Implemented Interfaces:
IFeature, java.lang.Comparable<IFeature>

public class NumericStringFeature
extends java.lang.Object
implements IFeature


Constructor Summary
NumericStringFeature(java.lang.String feature, double value)
           
 
Method Summary
 int compareTo(IFeature o)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String featureToString()
           
 double getValue()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericStringFeature

public NumericStringFeature(java.lang.String feature,
                            double value)
Method Detail

compareTo

public int compareTo(IFeature o)
Specified by:
compareTo in interface java.lang.Comparable<IFeature>

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface IFeature
Overrides:
equals in class java.lang.Object

featureToString

public java.lang.String featureToString()
Specified by:
featureToString in interface IFeature

getValue

public double getValue()
Specified by:
getValue in interface IFeature

hashCode

public int hashCode()
Specified by:
hashCode in interface IFeature
Overrides:
hashCode in class java.lang.Object