public class NKJPSentenceSampleStream extends Object implements ObjectStream<SentenceSample>
| Modifier and Type | Method and Description |
|---|---|
SentenceSample |
read()
Returns the next object.
|
void |
reset()
Repositions the stream at the beginning and the previously seen object sequence
will be repeated exactly.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic SentenceSample read() throws IOException
ObjectStreamread in interface ObjectStream<SentenceSample>IOException - if there is an error during readingpublic void reset()
ObjectStreamreset in interface ObjectStream<SentenceSample>Copyright © 2017 The Apache Software Foundation. All rights reserved.