Class ImmutableLongBitmapDataProvider.RoaringOfLong

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.Long>, java.util.PrimitiveIterator<java.lang.Long,​java.util.function.LongConsumer>, java.util.PrimitiveIterator.OfLong
    Enclosing interface:
    ImmutableLongBitmapDataProvider

    public static final class ImmutableLongBitmapDataProvider.RoaringOfLong
    extends java.lang.Object
    implements java.util.PrimitiveIterator.OfLong
    An internal class to help provide streams. Sad but true the interface of IntIterator and PrimitiveIterator.OfInt Does not match. Otherwise it would be easier to just make IntIterator implement PrimitiveIterator.OfInt.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.PrimitiveIterator

        java.util.PrimitiveIterator.OfDouble, java.util.PrimitiveIterator.OfInt, java.util.PrimitiveIterator.OfLong
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      long nextLong()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        remove
      • Methods inherited from interface java.util.PrimitiveIterator.OfLong

        forEachRemaining, forEachRemaining, next
    • Constructor Detail

      • RoaringOfLong

        public RoaringOfLong​(LongIterator iterator)
    • Method Detail

      • nextLong

        public long nextLong()
        Specified by:
        nextLong in interface java.util.PrimitiveIterator.OfLong
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.Long>