|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.util.CartesianProductInfinite<E>
public class CartesianProductInfinite<E>
Cartesian product of infinite components with iterator. Works also for finite iterables.
| Field Summary | |
|---|---|
java.util.List<java.lang.Iterable<E>> |
comps
data structure. |
| Constructor Summary | |
|---|---|
CartesianProductInfinite(java.util.List<java.lang.Iterable<E>> comps)
CartesianProduct constructor. |
|
| Method Summary | |
|---|---|
java.util.Iterator<java.util.List<E>> |
iterator()
Get an iterator over subsets. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.util.List<java.lang.Iterable<E>> comps
| Constructor Detail |
|---|
public CartesianProductInfinite(java.util.List<java.lang.Iterable<E>> comps)
comps - components of the cartesian product.| Method Detail |
|---|
public java.util.Iterator<java.util.List<E>> iterator()
iterator in interface java.lang.Iterable<java.util.List<E>>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||