public abstract class BaseIntEncodedValue extends java.lang.Object implements IntEncodedValue
| Constructor and Description |
|---|
BaseIntEncodedValue() |
| 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 |
getValueType()
Returns the type of this encoded value.
|
int |
hashCode()
Returns a hashcode for this EncodedIntValue.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetValuepublic int hashCode()
IntEncodedValue
int hashCode = getValue();
hashCode in interface IntEncodedValuehashCode in class java.lang.Objectpublic boolean equals(@Nullable
java.lang.Object o)
IntEncodedValueequals in interface IntEncodedValueequals in class java.lang.Objecto - The object to be compared for equality with this IntEncodedValuepublic int compareTo(@Nonnull
EncodedValue o)
IntEncodedValuecompareTo in interface java.lang.Comparable<EncodedValue>compareTo in interface IntEncodedValueo - The EncodedValue to compare with this IntEncodedValuepublic int getValueType()
EncodedValuegetValueType in interface EncodedValue