enum SpecialTypeEnum extends Enum<SpecialTypeEnum>
| Enum Constant and Description |
|---|
ANY |
ARRAY_JUST_ONE_ELEMENT |
ARRAY_MORE_THAN_AN_ELEMENT |
ARRAY_UNDEFINED_LENGTH |
SOME |
| Modifier and Type | Field and Description |
|---|---|
private static String |
CORE_SPECIAL_CHAR_END |
private static String |
CORE_SPECIAL_CHAR_START |
private String |
message |
private String |
symbol |
private String |
text |
| Modifier and Type | Method and Description |
|---|---|
(package private) static String |
clean(String string) |
(package private) static SpecialTypeEnum |
fromText(String text) |
(package private) String |
getMessage() |
(package private) String |
getText() |
String |
print() |
static SpecialTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecialTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecialTypeEnum ANY
public static final SpecialTypeEnum SOME
public static final SpecialTypeEnum ARRAY_UNDEFINED_LENGTH
public static final SpecialTypeEnum ARRAY_JUST_ONE_ELEMENT
public static final SpecialTypeEnum ARRAY_MORE_THAN_AN_ELEMENT
private static final String CORE_SPECIAL_CHAR_START
private static final String CORE_SPECIAL_CHAR_END
private String text
private String symbol
private String message
public static SpecialTypeEnum[] values()
for (SpecialTypeEnum c : SpecialTypeEnum.values()) System.out.println(c);
public static SpecialTypeEnum 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 nullString getMessage()
public String print()
String getText()
static final SpecialTypeEnum fromText(String text)
Copyright © 2019. All rights reserved.