Package edu.stanford.nlp.coref.data
Enum Dictionaries.Person
- java.lang.Object
-
- java.lang.Enum<Dictionaries.Person>
-
- edu.stanford.nlp.coref.data.Dictionaries.Person
-
- All Implemented Interfaces:
Serializable,Comparable<Dictionaries.Person>
- Enclosing class:
- Dictionaries
public static enum Dictionaries.Person extends Enum<Dictionaries.Person>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Dictionaries.PersonvalueOf(String name)Returns the enum constant of this type with the specified name.static Dictionaries.Person[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
I
public static final Dictionaries.Person I
-
YOU
public static final Dictionaries.Person YOU
-
HE
public static final Dictionaries.Person HE
-
SHE
public static final Dictionaries.Person SHE
-
WE
public static final Dictionaries.Person WE
-
THEY
public static final Dictionaries.Person THEY
-
IT
public static final Dictionaries.Person IT
-
UNKNOWN
public static final Dictionaries.Person UNKNOWN
-
-
Method Detail
-
values
public static Dictionaries.Person[] 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 (Dictionaries.Person c : Dictionaries.Person.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Dictionaries.Person 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 nameNullPointerException- if the argument is null
-
-