E - the type of data to iteratepublic abstract class AbstractDataSource<E> extends Object implements DataSource<E>
DataSource interface, which holds a 'type' attribute
and provides an empty close() method.
Created: 04.08.2011 09:52:03| Constructor and Description |
|---|
AbstractDataSource(Class<E> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the data source
|
Class<E> |
getType()
Returns the type of the iterated objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititeratorpublic Class<E> getType()
DataSourcegetType in interface DataSource<E>public void close()
DataSourceclose in interface Closeableclose in interface AutoCloseableclose in interface DataSource<E>Copyright © 2006–2016 Volker Bergmann. All rights reserved.