Package org.carrot2.language
Enum Class GlobDictionary.MatchType
- All Implemented Interfaces:
Serializable
,Comparable<GlobDictionary.MatchType>
,java.lang.constant.Constable
- Enclosing class:
GlobDictionary
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny single token (possessive).Any single token matching a type bitfield.Normalized token image match.Vermatim token image match.Wildcard match (zero or more tokens, possessive variant).Wildcard match (zero or more tokens, reluctant variant). -
Method Summary
Modifier and TypeMethodDescriptionstatic GlobDictionary.MatchType
Returns the enum constant of this class with the specified name.static GlobDictionary.MatchType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ZERO_OR_MORE_POSSESSIVE
Wildcard match (zero or more tokens, possessive variant). -
ZERO_OR_MORE_RELUCTANT
Wildcard match (zero or more tokens, reluctant variant). -
ANY
Any single token (possessive). -
ANY_OF_TYPE
Any single token matching a type bitfield. -
VERBATIM
Vermatim token image match. -
NORMALIZED
Normalized token image match.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-