public enum RegexpFlag extends Enum<RegexpFlag>
Enum Constant and Description |
---|
ALL
Enables all available option flags
|
ANYSTRING
Enables any string expression: @
|
COMPLEMENT
Enables complement expression of the form: ~<expression>
|
EMPTY
Enables empty language expression: #
|
INTERSECTION
Enables intersection of the form: <expression> & <expression>
|
INTERVAL
Enables numerical interval expression: <n-m>
|
NONE
Disables all available option flags
|
Modifier and Type | Method and Description |
---|---|
int |
value() |
static RegexpFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegexpFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegexpFlag INTERSECTION
public static final RegexpFlag COMPLEMENT
public static final RegexpFlag EMPTY
public static final RegexpFlag ANYSTRING
public static final RegexpFlag INTERVAL
public static final RegexpFlag NONE
public static final RegexpFlag ALL
public static RegexpFlag[] values()
for (RegexpFlag c : RegexpFlag.values()) System.out.println(c);
public static RegexpFlag 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 value()
Copyright © 2009–2016. All rights reserved.