Interface CharEncodedValue
- All Superinterfaces:
Comparable<EncodedValue>, EncodedValue
- All Known Implementing Classes:
BaseCharEncodedValue, BuilderEncodedValues.BuilderCharEncodedValue, ImmutableCharEncodedValue
This class represents an encoded char value.
-
Method Summary
Methods inherited from interface EncodedValue
getValueType
-
Method Details
-
getValue
char getValue()Gets the char value.- Returns:
- the char value
-
hashCode
-
equals
Compares this CharEncodedValue to another CharEncodedValue for equality. This CharEncodedValue is equal to another CharEncodedValue if the values returned by getValue() are equal. -
compareTo
Compare this CharEncodedValue to another EncodedValue. The comparison is first done on the return values of getValueType(). If the other value is another CharEncodedValue, the return values of getValue() are compared.- Specified by:
compareToin interfaceComparable<EncodedValue>- Parameters:
o- The EncodedValue to compare with this CharEncodedValue- Returns:
- An integer representing the result of the comparison
-