Package edu.jas.poly
Class AlgebraicNumberIterator<C extends RingElem<C>>
java.lang.Object
edu.jas.poly.AlgebraicNumberIterator<C>
- All Implemented Interfaces:
Iterator<AlgebraicNumber<C>>
class AlgebraicNumberIterator<C extends RingElem<C>>
extends Object
implements Iterator<AlgebraicNumber<C>>
Algebraic number iterator.
-
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
-
iter
data structure. -
powers
-
aring
-
logger
private static final org.apache.logging.log4j.Logger logger
-
-
Constructor Details
-
AlgebraicNumberIterator
CartesianProduct iterator constructor.- Parameters:
aring
- AlgebraicNumberRing 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.
-