Class DefaultCloseableIterator<T>
java.lang.Object
org.apache.tinkerpop.gremlin.structure.util.DefaultCloseableIterator<T>
- All Implemented Interfaces:
AutoCloseable,Iterator<T>,CloseableIterator<T>
- Direct Known Subclasses:
CloseableIterator.EmptyCloseableIterator
A default implementation of
CloseableIterator that simply wraps an existing Iterator. This
implementation has a "do nothing" implementation of close().- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.CloseableIterator
CloseableIterator.EmptyCloseableIterator<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
iterator
-
-
Constructor Details
-
DefaultCloseableIterator
-
-
Method Details