Enum SynsetType
- All Implemented Interfaces:
Tag<SynsetType>, Serializable, Comparable<SynsetType>, java.lang.constant.Constable
A kind of
Synset -- namely, named entity, concept or unknown.- Author:
- navigli
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA concept is an abstraction or generalization from experienceNamed Entity is a word that clearly identifies one item.Unknown. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the tag value.toString()static SynsetTypeReturns the enum constant of this type with the specified name.static SynsetType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NAMED_ENTITY
Named Entity is a word that clearly identifies one item. -
CONCEPT
A concept is an abstraction or generalization from experience -
UNKNOWN
Unknown.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toStringin classEnum<SynsetType>
-
getValue
Description copied from interface:TagReturns the tag value.- Specified by:
getValuein interfaceTag<SynsetType>- Returns:
- the tag value
-