public interface BooleanEncodedValue extends EncodedValue
| 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.
|
boolean |
getValue()
Gets the boolean value.
|
int |
hashCode()
Returns a hashcode for this EncodedBooleanValue.
|
getValueTypeboolean getValue()
int hashCode()
int hashCode = getValue()?1:0;
hashCode in class java.lang.Objectboolean equals(@Nullable
java.lang.Object o)
equals in class java.lang.Objecto - The object to be compared for equality with this BooleanEncodedValueint compareTo(@Nonnull
EncodedValue o)
compareTo in interface java.lang.Comparable<EncodedValue>o - The EncodedValue to compare with this BooleanEncodedValue