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