Interface TIntIterator

All Superinterfaces:
TIterator

public interface TIntIterator extends TIterator
Iterator for int collections.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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 Details

    • 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