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 int
compareTo(GlobDictionary.Token other)
boolean
equals(Object obj)
int
hashCode()
boolean
hasType(int tokenType)
String
image()
GlobDictionary.MatchType
matchType()
String
toString()
-
-
-
Constructor Detail
-
Token
public Token(String image, GlobDictionary.MatchType matchType, int typeBits)
-
-
Method Detail
-
compareTo
public int compareTo(GlobDictionary.Token other)
- Specified by:
compareTo
in interfaceComparable<GlobDictionary.Token>
-
image
public String image()
-
matchType
public GlobDictionary.MatchType matchType()
-
hasType
public boolean hasType(int tokenType)
-
-