public abstract class BaseShortEncodedValue extends java.lang.Object implements ShortEncodedValue
| Constructor and Description |
|---|
BaseShortEncodedValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EncodedValue o)
Compare this ShortEncodedValue to another EncodedValue.
|
boolean |
equals(java.lang.Object o)
Compares this ShortEncodedValue to another ShortEncodedValue for equality.
|
int |
getValueType()
Returns the type of this encoded value.
|
int |
hashCode()
Returns a hashcode for this EncodedShortValue.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetValuepublic int hashCode()
ShortEncodedValue
int hashCode = getValue();
hashCode in interface ShortEncodedValuehashCode in class java.lang.Objectpublic boolean equals(@Nullable
java.lang.Object o)
ShortEncodedValueequals in interface ShortEncodedValueequals in class java.lang.Objecto - The object to be compared for equality with this ShortEncodedValuepublic int compareTo(@Nonnull
EncodedValue o)
ShortEncodedValuecompareTo in interface java.lang.Comparable<EncodedValue>compareTo in interface ShortEncodedValueo - The EncodedValue to compare with this ShortEncodedValuepublic int getValueType()
EncodedValuegetValueType in interface EncodedValue