com.googlecode.javaewah
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
 boolean hasNext()
          Is there more?
 int next()
          Return the next integer
 

Method Detail

hasNext

boolean hasNext()
Is there more?

Returns:
true, if there is more, false otherwise

next

int next()
Return the next integer

Returns:
the integer


Copyright © 2014. All Rights Reserved.