public final class EnumEncodedValue<E extends Enum> extends IntEncodedValueImpl
EncodedValue.InitializerConfig| Constructor and Description |
|---|
EnumEncodedValue(String name,
Class<E> enumType) |
EnumEncodedValue(String name,
Class<E> enumType,
boolean storeTwoDirections) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
E |
getEnum(boolean reverse,
IntsRef ref) |
E[] |
getValues() |
int |
getVersion()
The return value represents the state of this EncodedValue and it can be assumed that two JVMs return the
same version when the EncodedValue has the same state unlike the hashCode method.
|
void |
setEnum(boolean reverse,
IntsRef ref,
E value) |
getInt, getMaxInt, getName, hashCode, init, isStoreTwoDirections, setInt, toStringpublic E[] getValues()
public boolean equals(Object o)
equals in class IntEncodedValueImplpublic int getVersion()
EncodedValuegetVersion in interface EncodedValuegetVersion in class IntEncodedValueImplCopyright © 2012–2022. All rights reserved.