Package 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
-
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
-