public static enum CompiledAutomaton.AUTOMATON_TYPE extends Enum<CompiledAutomaton.AUTOMATON_TYPE>
Enum Constant and Description |
---|
ALL
Automaton that accepts all possible strings.
|
NONE
Automaton that accepts no strings.
|
NORMAL
Catch-all for any other automata.
|
SINGLE
Automaton that accepts only a single fixed string.
|
Modifier and Type | Method and Description |
---|---|
static CompiledAutomaton.AUTOMATON_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompiledAutomaton.AUTOMATON_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompiledAutomaton.AUTOMATON_TYPE NONE
public static final CompiledAutomaton.AUTOMATON_TYPE ALL
public static final CompiledAutomaton.AUTOMATON_TYPE SINGLE
public static final CompiledAutomaton.AUTOMATON_TYPE NORMAL
public static CompiledAutomaton.AUTOMATON_TYPE[] values()
for (CompiledAutomaton.AUTOMATON_TYPE c : CompiledAutomaton.AUTOMATON_TYPE.values()) System.out.println(c);
public static CompiledAutomaton.AUTOMATON_TYPE 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 nullCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.