Class DefaultCloseableIterator<T>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.structure.util.DefaultCloseableIterator<T>
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Iterator<T>,- CloseableIterator<T>
 
 public class DefaultCloseableIterator<T> extends Object implements CloseableIterator<T> A default implementation ofCloseableIteratorthat simply wraps an existingIterator. This implementation has a "do nothing" implementation ofCloseableIterator.close().- Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultCloseableIterator(Iterator<T> iterator)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Tnext()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.util.CloseableIteratorclose
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, remove
 
- 
 
-