public final class EnumEncodedValue<E extends Enum> extends UnsignedIntEncodedValue
EncodedValue.InitializerConfigbwdDataIndex, fwdDataIndex| 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 UnsignedIntEncodedValuepublic int getVersion()
EncodedValuegetVersion in interface EncodedValuegetVersion in class UnsignedIntEncodedValueCopyright © 2012–2020. All rights reserved.