public abstract class BaseBooleanEncodedValue extends java.lang.Object implements BooleanEncodedValue
| Constructor and Description |
|---|
BaseBooleanEncodedValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EncodedValue o)
Compare this BooleanEncodedValue to another EncodedValue.
|
boolean |
equals(java.lang.Object o)
Compares this BooleanEncodedValue to another BooleanEncodedValue for equality.
|
int |
getValueType()
Returns the type of this encoded value.
|
int |
hashCode()
Returns a hashcode for this EncodedBooleanValue.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetValuepublic int hashCode()
BooleanEncodedValue
int hashCode = getValue()?1:0;
hashCode in interface BooleanEncodedValuehashCode in class java.lang.Objectpublic boolean equals(@Nullable
java.lang.Object o)
BooleanEncodedValueequals in interface BooleanEncodedValueequals in class java.lang.Objecto - The object to be compared for equality with this BooleanEncodedValuepublic int compareTo(@Nonnull
EncodedValue o)
BooleanEncodedValuecompareTo in interface java.lang.Comparable<EncodedValue>compareTo in interface BooleanEncodedValueo - The EncodedValue to compare with this BooleanEncodedValuepublic int getValueType()
EncodedValuegetValueType in interface EncodedValue