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