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