public static enum DisplayOptions.NounClass extends Enum<DisplayOptions.NounClass>
Enum Constant and Description |
---|
ANIMATE |
COMMON |
FEMININE |
INANIMATE |
MASCULINE |
NEUTER |
OTHER |
PERSONAL |
UNDEFINED
A possible setting for NounClass.
|
Modifier and Type | Field and Description |
---|---|
static List<DisplayOptions.NounClass> |
VALUES
Unmodifiable List of all noun classes constants.
|
Modifier and Type | Method and Description |
---|---|
static DisplayOptions.NounClass |
fromIdentifier(String identifier) |
String |
getIdentifier() |
static DisplayOptions.NounClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayOptions.NounClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayOptions.NounClass UNDEFINED
public static final DisplayOptions.NounClass OTHER
public static final DisplayOptions.NounClass NEUTER
public static final DisplayOptions.NounClass FEMININE
public static final DisplayOptions.NounClass MASCULINE
public static final DisplayOptions.NounClass ANIMATE
public static final DisplayOptions.NounClass INANIMATE
public static final DisplayOptions.NounClass PERSONAL
public static final DisplayOptions.NounClass COMMON
public static final List<DisplayOptions.NounClass> VALUES
values()
.public static DisplayOptions.NounClass[] values()
for (DisplayOptions.NounClass c : DisplayOptions.NounClass.values()) System.out.println(c);
public static DisplayOptions.NounClass 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 final String getIdentifier()
public static final DisplayOptions.NounClass fromIdentifier(String identifier)
identifier
- in lower case such as "feminine" or "masculine"UNDEFINED
Copyright © 2016 Unicode, Inc. and others.