org.springframework.data.keyvalue.redis.connection
Enum RedisListCommands.Position
java.lang.Object
java.lang.Enum<RedisListCommands.Position>
org.springframework.data.keyvalue.redis.connection.RedisListCommands.Position
- All Implemented Interfaces:
- Serializable, Comparable<RedisListCommands.Position>
- Enclosing interface:
- RedisListCommands
public static enum RedisListCommands.Position
- extends Enum<RedisListCommands.Position>
List insertion position.
BEFORE
public static final RedisListCommands.Position BEFORE
AFTER
public static final RedisListCommands.Position AFTER
values
public static RedisListCommands.Position[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RedisListCommands.Position c : RedisListCommands.Position.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RedisListCommands.Position valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2010-2011 SpringSource. All Rights Reserved.