public enum RemovalStrategy extends java.lang.Enum<RemovalStrategy>
Enum Constant and Description |
---|
FLATTEN
The elements are removed but the visible representation is retained.
|
REMOVE
The elements are removed completely.
|
Modifier and Type | Method and Description |
---|---|
static RemovalStrategy |
fromValue(int value) |
int |
getValue() |
static RemovalStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RemovalStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemovalStrategy FLATTEN
public static final RemovalStrategy REMOVE
public static RemovalStrategy[] values()
for (RemovalStrategy c : RemovalStrategy.values()) System.out.println(c);
public static RemovalStrategy 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 static RemovalStrategy fromValue(int value)
public int getValue()