org.debellor.core.data
Class NumericFeature
java.lang.Object
org.debellor.core.DataObject
org.debellor.core.data.NumericFeature
- All Implemented Interfaces:
- java.lang.Comparable<NumericFeature>
public final class NumericFeature
- extends DataObject
- implements java.lang.Comparable<NumericFeature>
- Author:
- Marcin Wojnarski
Field Summary |
double |
value
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
value
public final double value
NumericFeature
public NumericFeature(double value)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Description copied from class:
DataObject
- Must be implemented by every subclass.
- Specified by:
equals
in class DataObject
hashCode
public int hashCode()
- Description copied from class:
DataObject
- Must be implemented by every subclass.
- Specified by:
hashCode
in class DataObject
compareTo
public int compareTo(NumericFeature n)
- Specified by:
compareTo
in interface java.lang.Comparable<NumericFeature>