|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PatternFlag>
info.codesaway.util.regex.PatternFlag
public enum PatternFlag
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface info.codesaway.util.regex.PatternOptions |
---|
PatternOptions.StaticMethods |
Enum Constant Summary | |
---|---|
CANON_EQ
|
|
CASE_INSENSITIVE
|
|
COMMENTS
|
|
DOTALL
|
|
DOTNET_NUMBERING
|
|
DUPLICATE_NAMES
|
|
EXPLICIT_CAPTURE
|
|
LITERAL
|
|
MULTILINE
|
|
PERL_OCTAL
|
|
UNICODE_CASE
|
|
UNIX_LINES
|
|
VERIFY_GROUPS
|
Method Summary | |
---|---|
PatternFlags |
and(PatternOptions flags)
|
java.util.EnumSet<PatternFlag> |
asEnumSet()
Gets a copy of the flags as an EnumSet . |
PatternFlags |
bitwiseNegate()
|
PatternFlags |
getFlags()
Gets a copy of the flags. |
java.lang.String |
getInlineFlag()
|
int |
intValue()
Returns the flags as an integer. |
PatternFlags |
minus(PatternOptions flags)
|
PatternFlags |
or(PatternOptions flags)
|
PatternFlags |
plus(PatternOptions flags)
|
static PatternFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PatternFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
PatternFlags |
xor(PatternOptions flags)
|
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PatternFlag CANON_EQ
Pattern.CANON_EQ
public static final PatternFlag CASE_INSENSITIVE
Pattern.CASE_INSENSITIVE
public static final PatternFlag COMMENTS
Pattern.COMMENTS
public static final PatternFlag DOTALL
Pattern.DOTALL
public static final PatternFlag DOTNET_NUMBERING
Pattern.DOTNET_NUMBERING
public static final PatternFlag DUPLICATE_NAMES
Pattern.DUPLICATE_NAMES
public static final PatternFlag EXPLICIT_CAPTURE
Pattern.EXPLICIT_CAPTURE
public static final PatternFlag LITERAL
Pattern.LITERAL
public static final PatternFlag MULTILINE
Pattern.MULTILINE
public static final PatternFlag PERL_OCTAL
Pattern.PERL_OCTAL
public static final PatternFlag UNICODE_CASE
Pattern.UNICODE_CASE
public static final PatternFlag UNIX_LINES
Pattern.UNIX_LINES
public static final PatternFlag VERIFY_GROUPS
Pattern.VERIFY_GROUPS
Method Detail |
---|
public static PatternFlag[] values()
for (PatternFlag c : PatternFlag.values()) System.out.println(c);
public static PatternFlag 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 name
java.lang.NullPointerException
- if the argument is nullpublic int intValue()
intValue
in interface PatternOptions
public java.lang.String getInlineFlag()
public java.util.EnumSet<PatternFlag> asEnumSet()
EnumSet
.
asEnumSet
in interface PatternOptions
public PatternFlags getFlags()
getFlags
in interface PatternOptions
public PatternFlags plus(PatternOptions flags)
plus
in interface PatternOptions
public PatternFlags minus(PatternOptions flags)
minus
in interface PatternOptions
public PatternFlags or(PatternOptions flags)
or
in interface PatternOptions
public PatternFlags and(PatternOptions flags)
and
in interface PatternOptions
public PatternFlags xor(PatternOptions flags)
xor
in interface PatternOptions
public PatternFlags bitwiseNegate()
bitwiseNegate
in interface PatternOptions
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |