public class QueueStream<T> extends AbstractCloseableIterator<T> implements InMemoryStream<T>
| Constructor and Description |
|---|
QueueStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
write(Iterator<T> objects) |
void |
write(T object) |
finalizepublic void write(T object)
public boolean hasNext()
hasNext in interface CloseableIterator<T>hasNext in interface CloseableIteratorWithoutException<T>public T next()
next in interface CloseableIterator<T>next in interface CloseableIteratorWithoutException<T>public void close()
close in interface CloseableIterator<T>close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.