Class EliasFanoMonotoneLongBigList.EliasFanoMonotoneLongBigListIterator

    • Nested Class Summary

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

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

      Fields 
      Modifier and Type Field Description
      protected long index
      The index of the next element to return.
      protected long lowerBitsPosition
      The current position in the array of lower bits.
      protected long window
      The current window.
      protected int word
      The current word in the array of upper bits.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      boolean hasPrevious()  
      long nextIndex()  
      long nextLong()  
      long nextLongUnsafe()
      Returns the same element as nextLong(), if hasNext() is true; otherwise, behavior is undefined.
      long previousIndex()  
      long previousLong()  
      long previousLongUnsafe()
      Returns the same element as previousLong(), if hasPrevious() is true; otherwise, behavior is undefined.
      • 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 it.unimi.dsi.fastutil.longs.LongBidirectionalIterator

        back, previous
      • Methods inherited from interface it.unimi.dsi.fastutil.longs.LongBigListIterator

        add, add, back, set, set, skip, skip
      • Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterator

        forEachRemaining, forEachRemaining, next
      • Methods inherited from interface java.util.PrimitiveIterator.OfLong

        forEachRemaining
    • Field Detail

      • index

        protected long index
        The index of the next element to return.
      • word

        protected int word
        The current word in the array of upper bits.
      • window

        protected long window
        The current window.
      • lowerBitsPosition

        protected long lowerBitsPosition
        The current position in the array of lower bits.
    • Constructor Detail

      • EliasFanoMonotoneLongBigListIterator

        protected EliasFanoMonotoneLongBigListIterator​(long from)
    • Method Detail

      • previousIndex

        public long previousIndex()
        Specified by:
        previousIndex in interface it.unimi.dsi.fastutil.BigListIterator<java.lang.Long>
      • nextIndex

        public long nextIndex()
        Specified by:
        nextIndex in interface it.unimi.dsi.fastutil.BigListIterator<java.lang.Long>
      • hasPrevious

        public boolean hasPrevious()
        Specified by:
        hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Long>
      • hasNext

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

        public long nextLong()
        Specified by:
        nextLong in interface it.unimi.dsi.fastutil.longs.LongIterator
        Specified by:
        nextLong in interface java.util.PrimitiveIterator.OfLong
      • nextLongUnsafe

        public long nextLongUnsafe()
        Returns the same element as nextLong(), if hasNext() is true; otherwise, behavior is undefined.
        Returns:
        the same element as nextLong(), if hasNext() is true; otherwise, behavior is undefined.
      • previousLong

        public long previousLong()
        Specified by:
        previousLong in interface it.unimi.dsi.fastutil.longs.LongBidirectionalIterator