edu.northwestern.at.utils.intcollections
Interface IntIterator


public interface IntIterator

An iterator over integers.


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

Method Detail

hasNext

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

Returns:
True if iterator has more elements.

next

int next()
Returns the next element in the iterator.

Returns:
The next element.
Throws:
NoSuchElementException - The iteration has no more elements.