public abstract class AbstractDataProviderIterator extends AbstractDisposable implements DisposableIterator
Constructor and Description |
---|
AbstractDataProviderIterator(DataStoreProvider dataStoreProvider)
Creates a new iterator instance.
|
Modifier and Type | Method and Description |
---|---|
protected DataStoreProvider |
getDataStoreProvider()
Returns the
DataStoreProvider to load the Iterator data. |
protected Resource |
getResource()
Returns the
Resource from where the data is going to be loaded. |
boolean |
hasNext() |
protected abstract boolean |
internalHasNext()
Returns if there are more elements to get from the iterator.
|
protected abstract Object |
internalNext()
Returns the next iterator element.
|
Object |
next() |
dispose, dispose, doDispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose
public AbstractDataProviderIterator(DataStoreProvider dataStoreProvider)
storeProvider
- to load the FeatureProvider
s fromprotected final Resource getResource()
Resource
from where the data is going to be loaded.Resource
from where the data is going to be loadedprotected DataStoreProvider getDataStoreProvider()
DataStoreProvider
to load the Iterator data.DataStoreProvider
protected abstract Object internalNext()
next()
method.protected abstract boolean internalHasNext()
hasNext()
method.