public enum Relation extends Enum<Relation>
Enum Constant and Description |
---|
antonym |
holonym |
hypernym |
hyponym |
lower |
meronym |
synonym |
upper |
Modifier and Type | Method and Description |
---|---|
static Relation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Collection<Relation> |
valuesCollection() |
public static final Relation synonym
public static final Relation antonym
public static final Relation hypernym
public static final Relation hyponym
public static final Relation holonym
public static final Relation meronym
public static final Relation upper
public static final Relation lower
public static Relation[] values()
for (Relation c : Relation.values()) System.out.println(c);
public static Relation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static Collection<Relation> valuesCollection()