GNU Trove

gnu.trove.iterator
Interface TIntIterator

All Superinterfaces:
TIterator

public interface TIntIterator
extends TIterator

Iterator for int collections.


Method Summary
 int next()
          Advances the iterator to the next element in the underlying collection and returns it.
 
Methods inherited from interface gnu.trove.iterator.TIterator
hasNext, remove
 

Method Detail

next

int next()
Advances the iterator to the next element in the underlying collection and returns it.

Returns:
the next int in the collection
Throws:
NoSuchElementException - if the iterator is already exhausted

GNU Trove