Enum Constant and Description |
---|
NN
Interpret the word as a noun.
|
SENSE_1
Use the non-default sense of the word.
|
VB
Interpret the word as a verb (present simple).
|
VBD
Interpret the word as a past participle.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static WordRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WordRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WordRole VB
public static final WordRole VBD
public static final WordRole NN
public static final WordRole SENSE_1
public static WordRole[] values()
for (WordRole c : WordRole.values()) System.out.println(c);
public static WordRole 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<WordRole>