public class TupleChainIterator extends java.lang.Object implements java.util.Iterator<Tuple>, java.io.Closeable, Resettable<java.util.Iterator<Tuple>>
Constructor and Description |
---|
TupleChainIterator(java.util.Iterator<Tuple>... iterators) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Method close closes all underlying resources.
|
protected void |
closeCurrent() |
boolean |
hasNext()
Method hasNext returns true if there is a next TupleEntry
|
Tuple |
next()
Method next returns the next TupleEntry.
|
void |
remove()
Method remove removes the current Tuple from the underlying collection.
|
void |
reset(java.util.Iterator<Tuple>... iterators) |
public TupleChainIterator(java.util.Iterator<Tuple>... iterators)
public boolean hasNext()
hasNext
in interface java.util.Iterator<Tuple>
public void reset(java.util.Iterator<Tuple>... iterators)
reset
in interface Resettable<java.util.Iterator<Tuple>>
public Tuple next()
next
in interface java.util.Iterator<Tuple>
public void remove()
remove
in interface java.util.Iterator<Tuple>
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
protected void closeCurrent()
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.