public static enum WhitespaceCorrector.Punctuation extends Enum<WhitespaceCorrector.Punctuation>
| Enum Constant and Description |
|---|
COMMA |
EXCLAMATION_MARK |
FULL_STOP |
QUESTION_MARK |
| Modifier and Type | Method and Description |
|---|---|
char |
getWhitespaceAcceptingForm() |
char[] |
getWhitespaceNonAcceptingForm() |
static WhitespaceCorrector.Punctuation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WhitespaceCorrector.Punctuation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhitespaceCorrector.Punctuation FULL_STOP
public static final WhitespaceCorrector.Punctuation COMMA
public static final WhitespaceCorrector.Punctuation EXCLAMATION_MARK
public static final WhitespaceCorrector.Punctuation QUESTION_MARK
public static WhitespaceCorrector.Punctuation[] values()
for (WhitespaceCorrector.Punctuation c : WhitespaceCorrector.Punctuation.values()) System.out.println(c);
public static WhitespaceCorrector.Punctuation 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 nullpublic char getWhitespaceAcceptingForm()
public char[] getWhitespaceNonAcceptingForm()
Copyright © 2021. All rights reserved.