|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<KleeneOperator.Type> gate.jape.KleeneOperator.Type
public static enum KleeneOperator.Type
Enum containing the defined types of operators.
Enum Constant Summary | |
---|---|
OPTIONAL
|
|
PLUS
|
|
RANGE
|
|
SINGLE
|
|
STAR
|
Method Summary | |
---|---|
static KleeneOperator.Type |
getFromJapeConstant(int op)
Conversion routine from the old JapeConstants values to the type class. |
static KleeneOperator.Type |
getFromSymbol(String symbol)
Conversion routine from the string symbol for a type to the type Enum. |
String |
getSymbol()
|
static KleeneOperator.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KleeneOperator.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 KleeneOperator.Type SINGLE
public static final KleeneOperator.Type OPTIONAL
public static final KleeneOperator.Type STAR
public static final KleeneOperator.Type PLUS
public static final KleeneOperator.Type RANGE
Method Detail |
---|
public static KleeneOperator.Type[] values()
for (KleeneOperator.Type c : KleeneOperator.Type.values()) System.out.println(c);
public static KleeneOperator.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getSymbol()
public static KleeneOperator.Type getFromJapeConstant(int op)
public static KleeneOperator.Type getFromSymbol(String symbol)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |