Package org.roaringbitmap
Class BatchIntIterator
java.lang.Object
org.roaringbitmap.BatchIntIterator
- All Implemented Interfaces:
Cloneable
,IntIterator
Wraps a batch iterator for use as an IntIterator
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIntIterator
- Returns:
- whether there is another value
-
next
public int next()- Specified by:
next
in interfaceIntIterator
- Returns:
- next integer value
-
clone
Description copied from interface:IntIterator
Creates a copy of the iterator.- Specified by:
clone
in interfaceIntIterator
- Overrides:
clone
in classObject
- Returns:
- a clone of the current iterator
-