public interface ShortEncodedValue extends EncodedValue
| 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.
|
short |
getValue()
Gets the short value.
|
int |
hashCode()
Returns a hashcode for this EncodedShortValue.
|
getValueTypeshort getValue()
int hashCode()
int hashCode = getValue();
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 ShortEncodedValueint compareTo(@Nonnull
EncodedValue o)
compareTo in interface java.lang.Comparable<EncodedValue>o - The EncodedValue to compare with this ShortEncodedValue