public enum GrammaticalNumber extends Enum<GrammaticalNumber>
IWiktionaryWordForm
.Enum Constant and Description |
---|
PLURAL
Multiple items (e.g., "books", "two pens", "the guys").
|
SINGULAR
A single item (e.g., "a book", "one pen", "the guy").
|
Modifier and Type | Method and Description |
---|---|
static GrammaticalNumber |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrammaticalNumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrammaticalNumber SINGULAR
public static final GrammaticalNumber PLURAL
public static GrammaticalNumber[] values()
for (GrammaticalNumber c : GrammaticalNumber.values()) System.out.println(c);
public static GrammaticalNumber 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.