java.io.Serializable
, java.lang.Comparable<IndexMetaData.State>
public static enum IndexMetaData.State extends java.lang.Enum<IndexMetaData.State>
Modifier and Type | Method | Description |
---|---|---|
static IndexMetaData.State |
fromId(byte id) |
|
static IndexMetaData.State |
fromString(java.lang.String state) |
|
byte |
id() |
|
static IndexMetaData.State |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static IndexMetaData.State[] |
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte id()
public static IndexMetaData.State fromId(byte id)
public static IndexMetaData.State fromString(java.lang.String state)