public static enum IndexMetaData.State extends Enum<IndexMetaData .State >
| Modifier and Type | Method and Description |
|---|---|
static IndexMetaData |
fromId(byte id)
|
static IndexMetaData |
fromString(String
|
byte |
id()
|
static IndexMetaData |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static IndexMetaData |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final IndexMetaData.State OPEN
public static final IndexMetaData.State CLOSE
public static IndexMetaData.State [] values()
for (IndexMetaData.State c : IndexMetaData.State.values()) System.out.println(c);
public static IndexMetaData.State valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
public byte id()
public static IndexMetaData.State fromId(byte id)
public static IndexMetaData.State fromString(String state)