|
Java APG, Version 1.0 Author Lowell D. Thomas Copyright © Coast to Coast Research, Inc. 2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<DecNum.RuleNames>
com.coasttocoastresearch.examples.testudtlib.DecNum.RuleNames
public static enum DecNum.RuleNames
This enum provides easy to remember enum constants for locating the rule identifiers and names. The enum constants have the same spelling as the rule names rendered in all caps with underscores replacing hyphens.
| Enum Constant Summary | |
|---|---|
DECNUM
id = 0, name = "decnum" |
|
DIGIT
id = 1, name = "DIGIT" |
|
| Method Summary | |
|---|---|
int |
ruleID()
Associates the enum with an identifier for the grammar rule it represents. |
java.lang.String |
ruleName()
Associates the enum with the original grammar name of the rule it represents. |
static DecNum.RuleNames |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DecNum.RuleNames[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| 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 DecNum.RuleNames DECNUM
0, name = "decnum"
public static final DecNum.RuleNames DIGIT
1, name = "DIGIT"
| Method Detail |
|---|
public int ruleID()
public java.lang.String ruleName()
public static DecNum.RuleNames 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 static DecNum.RuleNames[] values()
for (DecNum.RuleNames c : DecNum.RuleNames.values()) System.out.println(c);
|
Java APG, Version 1.0 Author Lowell D. Thomas Copyright © Coast to Coast Research, Inc. 2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||