public static enum RedisListCommands.Direction extends Enum<RedisListCommands.Direction>
| Modifier and Type | Method and Description |
|---|---|
static RedisListCommands.Direction |
first()
Alias for
LEFT. |
static RedisListCommands.Direction |
last()
Alias for
RIGHT. |
static RedisListCommands.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisListCommands.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisListCommands.Direction LEFT
public static final RedisListCommands.Direction RIGHT
public static RedisListCommands.Direction[] values()
for (RedisListCommands.Direction c : RedisListCommands.Direction.values()) System.out.println(c);
public static RedisListCommands.Direction 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 static RedisListCommands.Direction first()
LEFT.public static RedisListCommands.Direction last()
RIGHT.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.