public static enum PickExpression.Mode extends java.lang.Enum<PickExpression.Mode>
Enum Constant and Description |
---|
FROM_END |
FROM_START |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
pick(java.lang.Iterable<T> iterable,
int offset) |
static PickExpression.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PickExpression.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PickExpression.Mode FROM_START
public static final PickExpression.Mode FROM_END
public static PickExpression.Mode[] values()
for (PickExpression.Mode c : PickExpression.Mode.values()) System.out.println(c);
public static PickExpression.Mode 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 abstract <T> T pick(java.lang.Iterable<T> iterable, int offset)