public enum RegexInstructionKind extends Enum<RegexInstructionKind>
| Enum Constant and Description |
|---|
Any |
Done |
LeftParen |
OneOrMore |
Optional |
Or |
RightParen |
Set |
Symbol |
ZeroOrMore |
| Modifier and Type | Method and Description |
|---|---|
static RegexInstructionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegexInstructionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegexInstructionKind LeftParen
public static final RegexInstructionKind RightParen
public static final RegexInstructionKind Or
public static final RegexInstructionKind Any
public static final RegexInstructionKind Symbol
public static final RegexInstructionKind Set
public static final RegexInstructionKind OneOrMore
public static final RegexInstructionKind ZeroOrMore
public static final RegexInstructionKind Optional
public static final RegexInstructionKind Done
public static RegexInstructionKind[] values()
for (RegexInstructionKind c : RegexInstructionKind.values()) System.out.println(c);
public static RegexInstructionKind 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 © 2014. All rights reserved.