ve
Interface FactorIterator


public interface FactorIterator

An iterator over factors. This follows the basic abstract Iterator interface, but doesn't throw an exception. (It assumes it will be used properly.)


Method Summary
 boolean hasNext()
          Returns true if the iterator has more elements.
 Factor next()
          Returns the next element in the iteration.
 

Method Detail

hasNext

public boolean hasNext()
Returns true if the iterator has more elements.
Returns:
true if the iterator has more elements.

next

public Factor next()
Returns the next element in the iteration.
Returns:
the next element in the iteration.