edu.stanford.nlp.parser.lang
Enum Languages.Language
java.lang.Object
java.lang.Enum<Languages.Language>
edu.stanford.nlp.parser.lang.Languages.Language
- All Implemented Interfaces:
- Serializable, Comparable<Languages.Language>
- Enclosing class:
- Languages
public static enum Languages.Language
- extends Enum<Languages.Language>
Arabic
public static final Languages.Language Arabic
Chinese
public static final Languages.Language Chinese
English
public static final Languages.Language English
German
public static final Languages.Language German
French
public static final Languages.Language French
Hebrew
public static final Languages.Language Hebrew
values
public static Languages.Language[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Languages.Language c : Languages.Language.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Languages.Language valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Stanford NLP Group