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