private static enum NameAnalyzer.TriState extends java.lang.Enum<NameAnalyzer.TriState>
Enum Constant and Description |
---|
BOTH
If value can be true or false
|
FALSE
If value is false
|
TRUE
If value is true
|
Modifier and Type | Method and Description |
---|---|
static NameAnalyzer.TriState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NameAnalyzer.TriState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameAnalyzer.TriState TRUE
public static final NameAnalyzer.TriState FALSE
public static final NameAnalyzer.TriState BOTH
public static NameAnalyzer.TriState[] values()
for (NameAnalyzer.TriState c : NameAnalyzer.TriState.values()) System.out.println(c);
public static NameAnalyzer.TriState 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