Package com.attivio.util
Class TokenUtils.TokenBuffer
- java.lang.Object
-
- com.attivio.util.TokenUtils.TokenBuffer
-
- All Implemented Interfaces:
java.lang.Comparable<TokenUtils.TokenBuffer>
- Enclosing class:
- TokenUtils
public static final class TokenUtils.TokenBuffer extends java.lang.Object implements java.lang.Comparable<TokenUtils.TokenBuffer>
Expert Use Only: represents aToken
and associated positional data as part of aTokenUtils.PositionBuffer
.
-
-
Constructor Summary
Constructors Constructor Description TokenBuffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TokenUtils.TokenBuffer other)
int
endOffset()
int
increment()
int
span()
int
startOffset()
Token
token()
Phrase
toPhrase(int offsetBase)
-
-
-
Method Detail
-
token
public Token token()
-
increment
public int increment()
-
span
public int span()
-
startOffset
public int startOffset()
-
endOffset
public int endOffset()
-
toPhrase
public Phrase toPhrase(int offsetBase)
-
compareTo
public int compareTo(TokenUtils.TokenBuffer other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<TokenUtils.TokenBuffer>
-
-