Package org.carrot2.language
Class GlobDictionary.Token
- java.lang.Object
-
- org.carrot2.language.GlobDictionary.Token
-
- All Implemented Interfaces:
Comparable<GlobDictionary.Token>
- Enclosing class:
- GlobDictionary
public static final class GlobDictionary.Token extends Object implements Comparable<GlobDictionary.Token>
-
-
Constructor Summary
Constructors Constructor Description Token(String image, GlobDictionary.MatchType matchType, int typeBits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(GlobDictionary.Token other)booleanequals(Object obj)inthashCode()booleanhasType(int tokenType)Stringimage()GlobDictionary.MatchTypematchType()StringtoString()
-
-
-
Constructor Detail
-
Token
public Token(String image, GlobDictionary.MatchType matchType, int typeBits)
-
-
Method Detail
-
compareTo
public int compareTo(GlobDictionary.Token other)
- Specified by:
compareToin interfaceComparable<GlobDictionary.Token>
-
image
public String image()
-
matchType
public GlobDictionary.MatchType matchType()
-
hasType
public boolean hasType(int tokenType)
-
-