protected static class LookaheadTokenFilter.Position extends java.lang.Object implements RollingBuffer.Resettable
| Modifier and Type | Field and Description |
|---|---|
int |
endOffset |
java.util.List<AttributeSource.State> |
inputTokens |
int |
nextRead |
int |
startOffset |
| Modifier | Constructor and Description |
|---|---|
protected |
LookaheadTokenFilter.Position() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AttributeSource.State state) |
AttributeSource.State |
nextState() |
void |
reset() |
public final java.util.List<AttributeSource.State> inputTokens
public int nextRead
public int startOffset
public int endOffset
public void reset()
reset in interface RollingBuffer.Resettablepublic void add(AttributeSource.State state)
public AttributeSource.State nextState()