Apache Lucene.Net 2.4.0 Class Library API

SinkTokenizer.GetTokens Method 

Get the tokens in the internal List.

WARNING: Adding tokens to this list requires the {@link #Reset()} method to be called in order for them to be made available. Also, this Tokenizer does nothing to protect against {@link java.util.ConcurrentModificationException}s in the case of adds happening while {@link #Next(Lucene.Net.Analysis.Token)} is being called.

WARNING: Since this SinkTokenizer can be reset and the cached tokens made available again, do not modify them. Modify clones instead.
public virtual IList GetTokens();

Return Value

A List of {@link Lucene.Net.Analysis.Token}s

See Also

SinkTokenizer Class | Lucene.Net.Analysis Namespace