|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.entityfs.util.itr.AggregatingIterator<T>
@Deprecated public class AggregatingIterator<T>
This is an iterator that returns elements from a collection of iterators. The elements from the first iterator returned from the collection are returned first, the elements from the second iterator next, etc.
EntityFS iterators are not thread safe. Don't use them concurrently from several threads without synchronizing access to them.
AggregatingIterator
Constructor Summary | |
---|---|
AggregatingIterator(Collection<? extends Iterator<? extends T>> itrs)
Deprecated. |
|
AggregatingIterator(Iterator<? extends T>... itrs)
Deprecated. |
Method Summary | |
---|---|
boolean |
hasNext()
Deprecated. |
T |
next()
Deprecated. |
void |
remove()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public AggregatingIterator(Collection<? extends Iterator<? extends T>> itrs)
itrs
- The iterators.@Deprecated public AggregatingIterator(Iterator<? extends T>... itrs)
itrs
- The iterators.Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<T>
public T next()
next
in interface Iterator<T>
public void remove()
remove
in interface Iterator<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |