final class TokenOrderingFilter
extends org.apache.lucene.analysis.TokenFilter
Modifier and Type | Field and Description |
---|---|
private boolean |
done |
private org.apache.lucene.analysis.tokenattributes.OffsetAttribute |
offsetAtt |
private java.util.LinkedList<OrderedToken> |
queue |
private int |
windowSize |
Modifier | Constructor and Description |
---|---|
protected |
TokenOrderingFilter(org.apache.lucene.analysis.TokenStream input,
int windowSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
private final int windowSize
private final java.util.LinkedList<OrderedToken> queue
private boolean done
private final org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAtt