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