Package com.googlecode.javaewah
Class IntIteratorOverIteratingRLW
java.lang.Object
com.googlecode.javaewah.IntIteratorOverIteratingRLW
- All Implemented Interfaces:
IntIterator
Implementation of an IntIterator over an IteratingRLW.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntIteratorOverIteratingRLW
- Parameters:
p- iterator we wish to iterate over
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:IntIteratorIs there more?- Specified by:
hasNextin interfaceIntIterator- Returns:
- true, if there is more, false otherwise
-
next
public final int next()Description copied from interface:IntIteratorReturn the next integer- Specified by:
nextin interfaceIntIterator- Returns:
- the integer
-