private static class TokenStreamFromTermVector.TokenLL
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) short |
endOffsetInc |
(package private) TokenStreamFromTermVector.TokenLL |
next |
(package private) int |
payloadIndex |
(package private) int |
positionIncrement |
(package private) int |
startOffset |
(package private) short |
termCharsLen |
(package private) int |
termCharsOff |
Modifier | Constructor and Description |
---|---|
private |
TokenLL() |
Modifier and Type | Method and Description |
---|---|
(package private) int |
compareOffsets(TokenStreamFromTermVector.TokenLL tokenB)
by startOffset then endOffset
|
(package private) TokenStreamFromTermVector.TokenLL |
insertIntoSortedLinkedList(TokenStreamFromTermVector.TokenLL head)
Given the head of a linked-list (possibly null) this inserts the token at the correct
spot to maintain the desired order, and returns the head (which could be this token if it's the smallest).
|
int termCharsOff
short termCharsLen
int positionIncrement
int startOffset
short endOffsetInc
int payloadIndex
TokenStreamFromTermVector.TokenLL next
TokenStreamFromTermVector.TokenLL insertIntoSortedLinkedList(TokenStreamFromTermVector.TokenLL head)
int compareOffsets(TokenStreamFromTermVector.TokenLL tokenB)