public enum ChainStrategy extends Enum<ChainStrategy>
| Enum Constant and Description |
|---|
ALWAYS
Operators will be chained together when possible.
|
HEAD
The operator won't be chained with preceding operators, but maybe chained with succeeding
operators.
|
NEVER
The operator won't be chained with any operator.
|
| Modifier and Type | Method and Description |
|---|---|
static ChainStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChainStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChainStrategy HEAD
public static final ChainStrategy ALWAYS
public static final ChainStrategy NEVER
public static ChainStrategy[] values()
for (ChainStrategy c : ChainStrategy.values()) System.out.println(c);
public static ChainStrategy 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 © 2020. All rights reserved.