at.molindo.utils.collections
Class IteratorChain<T>
java.lang.Object
at.molindo.utils.collections.IteratorChain<T>
- All Implemented Interfaces:
- Iterator<T>
public class IteratorChain<T>
- extends Object
- implements Iterator<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IteratorChain
public IteratorChain(Iterable<Iterator<T>> iterators)
IteratorChain
public IteratorChain(Iterator<Iterator<T>> iterator)
chainIterables
public static <T> IteratorChain<T> chainIterables(Iterable<? extends Iterable<T>> iterables)
chainIterables
public static <T> IteratorChain<T> chainIterables(Iterator<? extends Iterable<T>> iterables)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<T>
next
public T next()
- Specified by:
next in interface Iterator<T>
remove
public void remove()
- Specified by:
remove in interface Iterator<T>
Copyright © 2013 Molindo GmbH. All Rights Reserved.