public final class DoubleAttribute extends SimpleAttribute implements java.lang.Comparable<DoubleAttribute>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DoubleAttribute o)
Compares this attribute to the given one.
|
double |
getValue()
Returns the numeric value of this attribute.
|
java.lang.String |
getValueAsString()
Returns a string representation of this attribute's value.
|
getAttributeDesc, getDesc, getExpType, getName, setDescpublic double getValue()
public int compareTo(DoubleAttribute o)
compareTo in interface java.lang.Comparable<DoubleAttribute>o - the attribute which should be compared to thispublic java.lang.String getValueAsString()
AttributegetValueAsString in class Attribute