S - the type of data to iterate from the sourceT - the type of data to provide to the clientpublic abstract class DataSourceAdapter<S,T> extends AbstractDataSource<T>
DataSource class.
Created: 24.07.2011 10:01:19| Modifier and Type | Field and Description |
|---|---|
protected DataSource<S> |
source |
type| Constructor and Description |
|---|
DataSourceAdapter(DataSource<S> source,
Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the data source
|
getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititeratorprotected DataSource<S> source
public DataSourceAdapter(DataSource<S> source, Class<T> type)
public void close()
DataSourceclose in interface Closeableclose in interface AutoCloseableclose in interface DataSource<T>close in class AbstractDataSource<T>Copyright © 2006–2016 Volker Bergmann. All rights reserved.