public class TupleChainIterator extends Object implements Iterator<Tuple>, Closeable, Resettable<Iterator<Tuple>>
Constructor and Description |
---|
TupleChainIterator(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(Iterator<Tuple>... iterators) |
public TupleChainIterator(Iterator<Tuple>... iterators)
public boolean hasNext()
public void reset(Iterator<Tuple>... iterators)
reset
in interface Resettable<Iterator<Tuple>>
public void remove()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
protected void closeCurrent()
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.