Class CartesianProductLongIterator
java.lang.Object
edu.jas.util.CartesianProductLongIterator
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final List<LongIterator> (package private) final List<LongIterable> data structure.(package private) booleanfinal long -
Constructor Summary
ConstructorsConstructorDescriptionCartesianProductLongIterator(List<LongIterable> comps, long ub) CartesianProduct iterator constructor. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
comps
data structure. -
compit
-
current
-
empty
boolean empty -
upperBound
public final long upperBound
-
-
Constructor Details
-
CartesianProductLongIterator
CartesianProduct iterator constructor.- Parameters:
comps- components of the Cartesian product.ub- an upper bound for the total degree of the elements.
-
-
Method Details
-
hasNext
-
next
-
totalDegree
-
remove
-