public static enum Splitter.DividerPositionStrategy extends java.lang.Enum<Splitter.DividerPositionStrategy>
Enum Constant and Description |
---|
KEEP_FIRST_SIZE |
KEEP_PROPORTION |
KEEP_SECOND_SIZE |
Modifier and Type | Method and Description |
---|---|
static Splitter.DividerPositionStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Splitter.DividerPositionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Splitter.DividerPositionStrategy KEEP_PROPORTION
public static final Splitter.DividerPositionStrategy KEEP_FIRST_SIZE
public static final Splitter.DividerPositionStrategy KEEP_SECOND_SIZE
public static Splitter.DividerPositionStrategy[] values()
for (Splitter.DividerPositionStrategy c : Splitter.DividerPositionStrategy.values()) System.out.println(c);
public static Splitter.DividerPositionStrategy 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 null