public enum NounClass extends Enum<NounClass>
Enum Constant and Description |
---|
ANIMATE |
COMMON |
FEMININE |
INANIMATE |
MASCULINE |
NEUTER |
OTHER |
PERSONAL |
Modifier and Type | Method and Description |
---|---|
static NounClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NounClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NounClass OTHER
public static final NounClass NEUTER
public static final NounClass FEMININE
public static final NounClass MASCULINE
public static final NounClass ANIMATE
public static final NounClass INANIMATE
public static final NounClass PERSONAL
public static final NounClass COMMON
public static NounClass[] values()
for (NounClass c : NounClass.values()) System.out.println(c);
public static 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 nullCopyright © 2016 Unicode, Inc. and others.