Enum Constant and Description |
---|
has_antonym |
has_participle |
has_pertainym |
has_synonym |
Modifier and Type | Method and Description |
---|---|
static boolean |
isRel(java.lang.String relName)
Return true if the
String relName represents a
valid LexRel . |
static LexRel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LexRel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LexRel has_synonym
public static final LexRel has_antonym
public static final LexRel has_pertainym
public static final LexRel has_participle
public static LexRel[] values()
for (LexRel c : LexRel.values()) System.out.println(c);
public static LexRel 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 static boolean isRel(java.lang.String relName)
String
relName
represents a
valid LexRel
.relName
- the name of the relation to verifyString
relName
represents
a valid LexRel