public enum GrammaticalDegree extends Enum<GrammaticalDegree>
IWiktionaryWordForm
.Enum Constant and Description |
---|
COMPARATIVE
Indicates a greater degree (e.g., "Your flowers are
_prettier_ than mine").
|
POSITIVE
Denotes an a property (e.g., "Your flowers are _pretty_").
|
SUPERLATIVE
Indicates the greatest degree (e.g., "Your flowers are
_prettiest_").
|
Modifier and Type | Method and Description |
---|---|
static GrammaticalDegree |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrammaticalDegree[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrammaticalDegree POSITIVE
public static final GrammaticalDegree COMPARATIVE
public static final GrammaticalDegree SUPERLATIVE
public static GrammaticalDegree[] values()
for (GrammaticalDegree c : GrammaticalDegree.values()) System.out.println(c);
public static GrammaticalDegree 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 nullCopyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.