E
- the type of the elementspublic final class ZipIterator<E> extends java.lang.Object implements java.util.Iterator<RubyArray<E>>
ZipIterator
iterates each RubyArray
of elements which get the
same indices among all other Lists.Constructor and Description |
---|
ZipIterator(java.util.Iterator<? extends E> iter,
java.lang.Iterable<? extends java.util.Iterator<? extends E>> others)
Creates a
ZipIterator . |
public ZipIterator(java.util.Iterator<? extends E> iter, java.lang.Iterable<? extends java.util.Iterator<? extends E>> others)
ZipIterator
.iter
- an Iteratorothers
- an Iterable of Iterators