public class LemmaSampleStream extends FilterObjectStream<String,LemmaSample>
Constructor and Description |
---|
LemmaSampleStream(ObjectStream<String> samples) |
Modifier and Type | Method and Description |
---|---|
LemmaSample |
read()
Returns the next object.
|
close, reset
public LemmaSampleStream(ObjectStream<String> samples)
public LemmaSample read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2021 The Apache Software Foundation. All rights reserved.