public static enum NamedEntity.Type extends Enum<NamedEntity.Type>
Enum Constant and Description |
---|
Location |
Organisation |
Person |
Modifier and Type | Method and Description |
---|---|
static NamedEntity.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamedEntity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamedEntity.Type Organisation
public static final NamedEntity.Type Person
public static final NamedEntity.Type Location
public static NamedEntity.Type[] values()
for (NamedEntity.Type c : NamedEntity.Type.values()) System.out.println(c);
public static NamedEntity.Type 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 null