public static enum Command.Option extends Enum<Command.Option>
Enum Constant and Description |
---|
ALPHA |
ASC |
BY |
DESC |
GET |
LIMIT |
STORE |
WITHSCORES |
Modifier and Type | Field and Description |
---|---|
byte[] |
bytes
semantic sugar
|
Modifier and Type | Method and Description |
---|---|
static Command.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.Option WITHSCORES
public static final Command.Option BY
public static final Command.Option LIMIT
public static final Command.Option GET
public static final Command.Option ASC
public static final Command.Option DESC
public static final Command.Option ALPHA
public static final Command.Option STORE
public static Command.Option[] values()
for (Command.Option c : Command.Option.values()) System.out.println(c);
public static Command.Option 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 nullCopyright © 2009–2018. All rights reserved.