Package org.geotools.data.store
Class FeatureIteratorIterator<F extends Feature>
Object
FeatureIteratorIterator<F>
- All Implemented Interfaces:
Iterator<F>
An
Iterator which delegates to a FeatureIterator.- Since:
- 2.4
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureIteratorIterator(FeatureIterator<F> delegate) Creates the new iterator. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()Calls through toFeatureIterator.hasNext()next()Calls through toFeatureIterator.next()voidremove()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
FeatureIteratorIterator
Creates the new iterator.- Parameters:
delegate- The iterator to delegate to.
-
-
Method Details
-
hasNext
public boolean hasNext()Calls through toFeatureIterator.hasNext() -
next
Calls through toFeatureIterator.next() -
remove
public void remove()- Specified by:
removein interfaceIterator<F extends Feature>- Throws:
UnsupportedOperationException
-
getDelegate
- Returns:
- The underlying delegate.
-