T - public class SampleTraceStream<T> extends FilterObjectStream<T,T>
samples| Constructor and Description |
|---|
SampleTraceStream(ObjectStream<T> samples,
Writer out) |
| Modifier and Type | Method and Description |
|---|---|
T |
read()
Returns the next object.
|
void |
reset()
Repositions the stream at the beginning and the previously seen object sequence
will be repeated exactly.
|
closepublic SampleTraceStream(ObjectStream<T> samples, Writer out)
public void reset()
throws IOException,
UnsupportedOperationException
ObjectStreamreset in interface ObjectStream<T>reset in class FilterObjectStream<T,T>IOExceptionUnsupportedOperationExceptionpublic T read() throws IOException
ObjectStreamIOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.