Package org.roaringbitmap.longlong
Class ImmutableLongBitmapDataProvider.RoaringOfLong
java.lang.Object
org.roaringbitmap.longlong.ImmutableLongBitmapDataProvider.RoaringOfLong
- All Implemented Interfaces:
Iterator<Long>
,PrimitiveIterator<Long,
,LongConsumer> PrimitiveIterator.OfLong
- Enclosing interface:
ImmutableLongBitmapDataProvider
public static final class ImmutableLongBitmapDataProvider.RoaringOfLong
extends Object
implements PrimitiveIterator.OfLong
An internal class to help provide streams.
Sad but true the interface of LongIterator and PrimitiveIterator.OfLong
Does not match. Otherwise it would be easier to just make LongIterator
implement PrimitiveIterator.OfLong.
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.PrimitiveIterator.OfLong
forEachRemaining, forEachRemaining, next
-
Field Details
-
iterator
-
-
Constructor Details
-
RoaringOfLong
-
-
Method Details
-
nextLong
public long nextLong()- Specified by:
nextLong
in interfacePrimitiveIterator.OfLong
-
hasNext
public boolean hasNext()
-