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