fingerprinters.features
Class NumericStringFeature
java.lang.Object
fingerprinters.features.NumericStringFeature
- All Implemented Interfaces:
- IFeature, java.lang.Comparable<IFeature>
public class NumericStringFeature
- extends java.lang.Object
- implements IFeature
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
NumericStringFeature
public NumericStringFeature(java.lang.String feature,
double value)
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