E - the type of data to iteratepublic interface DataSource<E> extends Closeable
DataIterators.
Implementors are expected to be thread-safe.
Created: 24.07.2011 08:48:26| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the data source
|
Class<E> |
getType()
Returns the type of the iterated objects.
|
DataIterator<E> |
iterator()
Creates a
DataIterator for iterating the available data items. |
Class<E> getType()
DataIterator<E> iterator()
DataIterator for iterating the available data items.void close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2006–2016 Volker Bergmann. All rights reserved.