private static final class FlattenGraphFilter.InputNode extends java.lang.Object implements RollingBuffer.Resettable
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
maxToNode
Maximum to input node for all tokens leaving here; we use this
to know when we can freeze.
|
(package private) int |
nextOut
Which token (index into
tokens) we will next output. |
(package private) int |
node
Our input node, or -1 if we haven't been assigned yet
|
(package private) int |
outputNode
Where we currently map to; this changes (can only
increase as we see more input tokens), until we are finished
with this position.
|
private java.util.List<AttributeSource.State> |
tokens |
| Modifier | Constructor and Description |
|---|---|
private |
InputNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
reset() |
private final java.util.List<AttributeSource.State> tokens
int node
int maxToNode
int outputNode
int nextOut
tokens) we will next output.public void reset()
reset in interface RollingBuffer.Resettable