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.
|
close
public SampleTraceStream(ObjectStream<T> samples, Writer out)
public void reset() throws IOException, UnsupportedOperationException
ObjectStream
reset
in interface ObjectStream<T>
reset
in class FilterObjectStream<T,T>
IOException
UnsupportedOperationException
public T read() throws IOException
ObjectStream
IOException
Copyright © 2019 The Apache Software Foundation. All rights reserved.