Class MucNameSampleStream
public class MucNameSampleStream : FilterObjectStream<string?, NameSample?>, IObjectStream<NameSample?>, IDisposable
- Inheritance
-
MucNameSampleStream
- Implements
- Inherited Members
Constructors
MucNameSampleStream(ITokenizer, IObjectStream<string?>)
protected MucNameSampleStream(ITokenizer tokenizer, IObjectStream<string?> samples)
Parameters
tokenizerITokenizersamplesIObjectStream<string>
Methods
Read()
Returns the next object. Calling this method repeatedly until it returns
null will return each object from the underlying source exactly once.
public override NameSample? Read()
Returns
- NameSample
the next object or
nullto signal that the stream is exhausted
Exceptions
- IOException
if there is an error during reading
- IOException
if there is an error during reading