Class SingleTokenTokenStream
A TokenStream containing a single token.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class SingleTokenTokenStream : TokenStream, IDisposable
Constructors
| Improve this Doc View SourceSingleTokenTokenStream(Token)
Declaration
public SingleTokenTokenStream(Token token)
Parameters
Type | Name | Description |
---|---|---|
Token | token |
Methods
| Improve this Doc View SourceGetToken()
Declaration
public Token GetToken()
Returns
Type | Description |
---|---|
Token |
IncrementToken()
Declaration
public override sealed bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()
Overrides
| Improve this Doc View SourceSetToken(Token)
Declaration
public void SetToken(Token token)
Parameters
Type | Name | Description |
---|---|---|
Token | token |
Implements
System.IDisposable