Class TokenFilter<D,T>

Type Parameters:
D - the type of source document identifiers
T - the type of token types
All Implemented Interfaces:
LookaheadTokenSource<D,T,Void>, TokenSource<D,T>, Supplier<Token<D,T>>

public class TokenFilter<D,T> extends LookaheadTokenFilter<D,T,Void> implements TokenSource<D,T>
Abstract base class for token processors that filter out certain tokens. Tokens from the given input token source are either forwarded or discarded, depending on a variety of criteria.