mondrian.util
Class UnionIterator<T>
java.lang.Object
mondrian.util.UnionIterator<T>
- All Implemented Interfaces:
- Iterator<T>
public class UnionIterator<T>
- extends Object
- implements Iterator<T>
Iterator over union of several Iterable
collections.
- Since:
- Apr 28, 2008
- Author:
- jhyde
- See Also:
Util.union(Iterable[])
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnionIterator
public UnionIterator(Iterable<? extends T>... iterables)
- Creates a UnionIterator.
- Parameters:
iterables
- Array of iterables
UnionIterator
public UnionIterator(Collection<? extends 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>