Package org.roaringbitmap
Class BatchIntIterator
- java.lang.Object
-
- org.roaringbitmap.BatchIntIterator
-
- All Implemented Interfaces:
java.lang.Cloneable,IntIterator
public class BatchIntIterator extends java.lang.Object implements IntIterator
Wraps a batch iterator for use as an IntIterator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntIteratorclone()Creates a copy of the iterator.booleanhasNext()intnext()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIntIterator- Returns:
- whether there is another value
-
next
public int next()
- Specified by:
nextin interfaceIntIterator- Returns:
- next integer value
-
clone
public IntIterator clone()
Description copied from interface:IntIteratorCreates a copy of the iterator.- Specified by:
clonein interfaceIntIterator- Overrides:
clonein classjava.lang.Object- Returns:
- a clone of the current iterator
-
-