public static enum IndexMetaData.State extends Enum<IndexMetaData.State>
Modifier and Type | Method and Description |
---|---|
static IndexMetaData.State |
fromId(byte id) |
static IndexMetaData.State |
fromString(String state) |
byte |
id() |
static IndexMetaData.State |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte id()
public static IndexMetaData.State fromId(byte id)
public static IndexMetaData.State fromString(String state)
Copyright © 2009–2017. All rights reserved.