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.

Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual IList GetTokens()
Visual Basic
Public Overridable Function GetTokens As IList
Visual C++
public:
virtual IList^ GetTokens()

Return Value

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

See Also