public enum Patterns extends Enum<Patterns>
| Enum Constant and Description |
|---|
Blank |
Expression
Recursive regexp, used only with com.stevesoft.pat.Regex
|
Expression2 |
NewLine |
RESERVED |
Type |
VarName |
| Modifier and Type | Method and Description |
|---|---|
Matcher |
matcher(String s) |
boolean |
matches(String s) |
Pattern |
pattern() |
String |
toString() |
static Patterns |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Patterns[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Patterns Expression
public static final Patterns Expression2
public static final Patterns VarName
public static final Patterns Blank
public static final Patterns NewLine
public static final Patterns RESERVED
public static final Patterns Type
public static Patterns[] values()
for (Patterns c : Patterns.values()) System.out.println(c);
public static Patterns 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 Pattern pattern()
public boolean matches(String s)
Copyright © 2016. All Rights Reserved.