E - the type of iterated datapublic interface DataIterator<E> extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the iterator.
|
Class<E> |
getType()
Returns the type of the iterated elements.
|
DataContainer<E> |
next(DataContainer<E> container)
Returns the container with the next data element if available, otherwise null.
|
Class<E> getType()
DataContainer<E> next(DataContainer<E> container)
container - a DataContainer to receive the iterated dataDataContainer that holds the next element, or null if none is availablevoid close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2006–2016 Volker Bergmann. All rights reserved.