public abstract class AbstractDataProviderIterator extends AbstractDisposable implements DisposableIterator
EMPTY_DISPOSABLE_ITERATOR
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 java.lang.Object |
internalNext()
Returns the next iterator element.
|
java.lang.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 frompublic java.lang.Object next()
next
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
protected 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 java.lang.Object internalNext()
next()
method.protected abstract boolean internalHasNext()
hasNext()
method.