Package edu.jas.util
Class CartesianOneProductInfiniteIterator<E>
java.lang.Object
edu.jas.util.CartesianOneProductInfiniteIterator<E>
Cartesian product infinite iterator, one factor.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCartesianProduct iterator constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
compit
data structure.
-
-
Constructor Details
-
CartesianOneProductInfiniteIterator
CartesianProduct iterator constructor.- Parameters:
comps
- components of the cartesian product.
-
-
Method Details
-
hasNext
public boolean hasNext()Test for availability of a next tuple. -
next
Get next tuple. -
remove
public void remove()Remove a tuple if allowed.
-