public static enum ReadCommand.Type extends java.lang.Enum<ReadCommand.Type>
Enum Constant and Description |
---|
GET_BY_NAMES |
GET_SLICES |
Modifier and Type | Field and Description |
---|---|
byte |
serializedValue |
Modifier and Type | Method and Description |
---|---|
static ReadCommand.Type |
fromSerializedValue(byte b) |
static ReadCommand.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadCommand.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadCommand.Type GET_BY_NAMES
public static final ReadCommand.Type GET_SLICES
public static ReadCommand.Type[] values()
for (ReadCommand.Type c : ReadCommand.Type.values()) System.out.println(c);
public static ReadCommand.Type 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 static ReadCommand.Type fromSerializedValue(byte b)
Copyright © 2014 The Apache Software Foundation