RollingBuffer.Resettable
protected static class LookaheadTokenFilter.Position extends Object implements RollingBuffer.Resettable
Modifier and Type | Field | Description |
---|---|---|
int |
endOffset |
|
List<AttributeSource.State> |
inputTokens |
|
int |
nextRead |
|
int |
startOffset |
Modifier | Constructor | Description |
---|---|---|
protected |
Position() |
Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.