Package org.apache.lucene.util.automaton
Enum RegExp.Kind
- java.lang.Object
-
- java.lang.Enum<RegExp.Kind>
-
- org.apache.lucene.util.automaton.RegExp.Kind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RegExp.Kind>
- Enclosing class:
- RegExp
static enum RegExp.Kind extends java.lang.Enum<RegExp.Kind>
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
Kind()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegExp.Kind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RegExp.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGEXP_UNION
public static final RegExp.Kind REGEXP_UNION
-
REGEXP_CONCATENATION
public static final RegExp.Kind REGEXP_CONCATENATION
-
REGEXP_INTERSECTION
public static final RegExp.Kind REGEXP_INTERSECTION
-
REGEXP_OPTIONAL
public static final RegExp.Kind REGEXP_OPTIONAL
-
REGEXP_REPEAT
public static final RegExp.Kind REGEXP_REPEAT
-
REGEXP_REPEAT_MIN
public static final RegExp.Kind REGEXP_REPEAT_MIN
-
REGEXP_REPEAT_MINMAX
public static final RegExp.Kind REGEXP_REPEAT_MINMAX
-
REGEXP_COMPLEMENT
public static final RegExp.Kind REGEXP_COMPLEMENT
-
REGEXP_CHAR
public static final RegExp.Kind REGEXP_CHAR
-
REGEXP_CHAR_RANGE
public static final RegExp.Kind REGEXP_CHAR_RANGE
-
REGEXP_ANYCHAR
public static final RegExp.Kind REGEXP_ANYCHAR
-
REGEXP_EMPTY
public static final RegExp.Kind REGEXP_EMPTY
-
REGEXP_STRING
public static final RegExp.Kind REGEXP_STRING
-
REGEXP_ANYSTRING
public static final RegExp.Kind REGEXP_ANYSTRING
-
REGEXP_AUTOMATON
public static final RegExp.Kind REGEXP_AUTOMATON
-
REGEXP_INTERVAL
public static final RegExp.Kind REGEXP_INTERVAL
-
-
Method Detail
-
values
public static RegExp.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RegExp.Kind c : RegExp.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegExp.Kind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-