|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.tuple.TupleEntryIterator
cascading.tuple.TupleEntryIterableChainIterator
public class TupleEntryIterableChainIterator
TupleEntryChainIterator chains the given Iterators into a single Iterator.
As one iterator is completed, it will be closed and a new one will start.
Constructor Summary | |
---|---|
TupleEntryIterableChainIterator(Fields fields)
|
|
TupleEntryIterableChainIterator(Fields fields,
Iterable<Iterator<Tuple>> iterable)
|
Method Summary | |
---|---|
void |
close()
Method close closes all underlying resources. |
protected void |
closeCurrent()
|
boolean |
hasNext()
Method hasNext returns true if there is a next TupleEntry |
TupleEntry |
next()
Method next returns the next TupleEntry. |
void |
remove()
Method remove removes the current TupleEntry from the underlying collection. |
void |
reset(Iterable<Iterator<Tuple>> iterable)
|
Methods inherited from class cascading.tuple.TupleEntryIterator |
---|
getFields, getTupleEntry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TupleEntryIterableChainIterator(Fields fields)
public TupleEntryIterableChainIterator(Fields fields, Iterable<Iterator<Tuple>> iterable)
Method Detail |
---|
public boolean hasNext()
public void reset(Iterable<Iterator<Tuple>> iterable)
public TupleEntry next()
public void remove()
public void close()
protected void closeCurrent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |