Package org.geotools.feature.collection
Class BridgeIterator<F extends Feature>
- Object
-
- BridgeIterator<F>
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<F>
public class BridgeIterator<F extends Feature> extends Object implements Iterator<F>, Closeable
A closeable iterator wrapped around a provided feature iterator.- Author:
- Jody Garnett (LISAsoft)
- See Also:
DataUtilities.iterator(FeatureIterator)
,DataUtilities.close(Iterator)
-
-
Constructor Summary
Constructors Constructor Description BridgeIterator(FeatureIterator<F> features)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
F
next()
void
remove()
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
BridgeIterator
public BridgeIterator(FeatureIterator<F> features)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-