public class CollectionObjectStream<E> extends Object implements ObjectStream<E>
Constructor and Description |
---|
CollectionObjectStream(Collection<E> collection) |
public CollectionObjectStream(Collection<E> collection)
public E read()
ObjectStream
read
in interface ObjectStream<E>
public void reset()
ObjectStream
reset
in interface ObjectStream<E>
public void close()
ObjectStream
ObjectStream
and releases all allocated
resources. After close was called its not allowed to call
read or reset.close
in interface AutoCloseable
close
in interface ObjectStream<E>
Copyright © 2015 The Apache Software Foundation. All rights reserved.