@Immutable @ThreadSafe @ProviderType public class FloatValue extends java.lang.Object implements TypedValue<java.lang.Float>
Float value as a TypedValue.| Constructor and Description |
|---|
FloatValue(float value)
Instantiates a new
Float value. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TypedValue<java.lang.Float> otherTypedValue) |
boolean |
equals(java.lang.Object obj) |
DataType |
getType()
Returns the data type of the represented value
|
java.lang.Float |
getValue()
Returns the actual value as represented
|
int |
hashCode() |
java.lang.String |
toString() |
public FloatValue(float value)
Float value.value - the valuepublic int compareTo(TypedValue<java.lang.Float> otherTypedValue)
compareTo in interface java.lang.Comparable<TypedValue<java.lang.Float>>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic DataType getType()
getType in interface TypedValue<java.lang.Float>public java.lang.Float getValue()
getValue in interface TypedValue<java.lang.Float>public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object