Class MultiIterator<T>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.util.iterator.MultiIterator<T>
 
- 
- All Implemented Interfaces:
- Serializable,- AutoCloseable,- Iterator<T>
 
 public final class MultiIterator<T> extends Object implements Iterator<T>, Serializable, AutoCloseable - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MultiIterator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIterator(Iterator<T> iterator)voidclear()voidclose()Close the underlying iterators if auto-closeable.booleanhasNext()Tnext()voidremove()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.IteratorforEachRemaining
 
- 
 
- 
- 
- 
Method Detail- 
clearpublic void clear() 
 - 
closepublic void close() Close the underlying iterators if auto-closeable. Note that when Exception is thrown from any iterator in the for loop on closing, remaining iterators possibly left unclosed.- Specified by:
- closein interface- AutoCloseable
 
 
- 
 
-