public final class FloatAttribute extends SimpleAttribute implements java.lang.Comparable<FloatAttribute>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FloatAttribute o)
Compares this attribute to the given one.
|
float |
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 float getValue()
public int compareTo(FloatAttribute o)
compareTo in interface java.lang.Comparable<FloatAttribute>o - the attribute which should be compared to thispublic java.lang.String getValueAsString()
AttributegetValueAsString in class Attribute