E
- the type of the elementspublic final class ProductIterator<E> extends java.lang.Object implements java.util.Iterator<RubyArray<E>>
ProductIterator
iterates all products of input Lists.Constructor and Description |
---|
ProductIterator(java.util.List<? extends java.util.List<? extends E>> lists)
Creates a
ProductIterator . |
public ProductIterator(java.util.List<? extends java.util.List<? extends E>> lists)
ProductIterator
.lists
- a List of Listsjava.lang.NullPointerException
- if lists is null