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