PolyIterator
edu.jas.poly

Class PolyIterator<C extends RingElem<C>>

    • Constructor Detail

      • PolyIterator

        public PolyIterator(SortedMap<ExpVector,C> m)
        Constructor of polynomial iterator.
        Parameters:
        m - SortetMap of a polynomial.
    • Method Detail

      • hasNext

        public boolean hasNext()
        Test for availability of a next monomial.
        Specified by:
        hasNext in interface Iterator<Monomial<C extends RingElem<C>>>
        Returns:
        true if the iteration has more monomials, else false.
      • remove

        public void remove()
        Remove the last monomial returned from underlying set if allowed.
        Specified by:
        remove in interface Iterator<Monomial<C extends RingElem<C>>>

SCaVis 2.1 © jWork.ORG