E - the type of the elementspublic final class ProductIterable<E> extends java.lang.Object implements java.lang.Iterable<RubyArray<E>>
ProductIterable iterates all products of input Lists.| Constructor and Description |
|---|
ProductIterable(java.util.List<? extends E> self,
java.util.List<? extends E>... others)
Creates a
ProductIterable. |
ProductIterable(java.util.List<? extends E> self,
java.util.List<? extends java.util.List<? extends E>> others)
Creates a
ProductIterable. |
public ProductIterable(java.util.List<? extends E> self, java.util.List<? extends java.util.List<? extends E>> others)
ProductIterable.self - a Listothers - a List of Listsjava.lang.NullPointerException - if self or others is nullpublic ProductIterable(java.util.List<? extends E> self, java.util.List<? extends E>... others)
ProductIterable.self - a Listothers - an array of Listjava.lang.NullPointerException - if self is null