public interface IntEncodedValue extends EncodedValue
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EncodedValue o)
Compare this IntEncodedValue to another EncodedValue.
|
boolean |
equals(java.lang.Object o)
Compares this IntEncodedValue to another IntEncodedValue for equality.
|
int |
getValue()
Gets the integer value.
|
int |
hashCode()
Returns a hashcode for this EncodedIntValue.
|
getValueTypeint 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 IntEncodedValueint compareTo(@Nonnull
EncodedValue o)
compareTo in interface java.lang.Comparable<EncodedValue>o - The EncodedValue to compare with this IntEncodedValue