public class PolyIterator<C extends RingElem<C>> extends java.lang.Object implements java.util.Iterator<Monomial<C>>
Modifier and Type | Field and Description |
---|---|
protected java.util.Iterator<java.util.Map.Entry<ExpVector,C>> |
ms
Internal iterator over polynomial map.
|
Constructor and Description |
---|
PolyIterator(java.util.SortedMap<ExpVector,C> m)
Constructor of polynomial iterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Test for availability of a next monomial.
|
Monomial<C> |
next()
Get next monomial element.
|
void |
remove()
Remove the last monomial returned from underlying set if allowed.
|
public PolyIterator(java.util.SortedMap<ExpVector,C> m)
m
- SortetMap of a polynomial.