Interface IntIterator

All Known Implementing Classes:
IntIteratorOverIteratingRLW, IntIteratorOverIteratingRLW32

public interface IntIterator
The IntIterator interface is used to iterate over a stream of integers.
Since:
0.2.0
Author:
Daniel Lemire
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Is there more?
    int
    Return the next integer
  • Method Details

    • hasNext

      boolean hasNext()
      Is there more?
      Returns:
      true, if there is more, false otherwise
    • next

      int next()
      Return the next integer
      Returns:
      the integer