Package edu.jas.poly
Class IndexListPolyIterator<C extends RingElem<C>>
java.lang.Object
edu.jas.poly.IndexListPolyIterator<C>
- All Implemented Interfaces:
Iterator<IndexListMonomial<C>>
public class IndexListPolyIterator<C extends RingElem<C>>
extends Object
implements Iterator<IndexListMonomial<C>>
Iterator over monomials of a polynomial. Adaptor for
val.entrySet().iterator().
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor of polynomial iterator. -
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
-
ms
Internal iterator over polynomial map.
-
-
Constructor Details
-
IndexListPolyIterator
Constructor of polynomial iterator.- Parameters:
m
- SortetMap of a polynomial.
-
-
Method Details
-
hasNext
public boolean hasNext()Test for availability of a next monomial. -
next
Get next monomial element. -
remove
public void remove()Remove the last monomial returned from underlying set if allowed.
-