- All Implemented Interfaces:
Iterable<List<E>>
Cartesian product with iterator.
- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors
CartesianProduct constructor.
-
Method Summary
Get an iterator over subsets.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
CartesianProduct
CartesianProduct constructor.
- Parameters:
comps - components of the Cartesian product.
-
Method Details
-
iterator
Get an iterator over subsets.
- Specified by:
iterator in interface Iterable<E>
- Returns:
- an iterator.