protected static class LookaheadTokenFilter.Position extends Object implements RollingBuffer.Resettable
Modifier and Type | Field and Description |
---|---|
int |
endOffset |
List<AttributeSource.State> |
inputTokens |
int |
nextRead |
int |
startOffset |
Modifier | Constructor and Description |
---|---|
protected |
Position() |
Modifier and Type | Method and Description |
---|---|
void |
add(AttributeSource.State state) |
AttributeSource.State |
nextState() |
void |
reset() |
public final List<AttributeSource.State> inputTokens
public int nextRead
public int startOffset
public int endOffset
public void reset()
reset
in interface RollingBuffer.Resettable
public void add(AttributeSource.State state)
public AttributeSource.State nextState()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.