public static enum Pattern.Flag extends Enum<Pattern.Flag>
Enum Constant and Description |
---|
CANON_EQ |
CASE_INSENSITIVE |
COMMENTS |
DOTALL |
MULTILINE |
UNICODE_CASE |
UNIX_LINES |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Pattern.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pattern.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pattern.Flag UNIX_LINES
public static final Pattern.Flag CASE_INSENSITIVE
public static final Pattern.Flag COMMENTS
public static final Pattern.Flag MULTILINE
public static final Pattern.Flag DOTALL
public static final Pattern.Flag UNICODE_CASE
public static final Pattern.Flag CANON_EQ
public static Pattern.Flag[] values()
for (Pattern.Flag c : Pattern.Flag.values()) System.out.println(c);
public static Pattern.Flag 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 int getValue()
Copyright © 2014. All Rights Reserved.