Class PackedLongValues.Iterator

  • Enclosing class:
    PackedLongValues

    public final class PackedLongValues.Iterator
    extends java.lang.Object
    An iterator over long values.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int currentCount  
      (package private) long[] currentValues  
      (package private) int pOff  
      (package private) int vOff  
    • Constructor Summary

      Constructors 
      Constructor Description
      Iterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void fillBlock()  
      boolean hasNext()
      Whether or not there are remaining values.
      long next()
      Return the next long in the buffer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • currentValues

        final long[] currentValues
      • vOff

        int vOff
      • pOff

        int pOff
      • currentCount

        int currentCount
    • Constructor Detail

      • Iterator

        Iterator()
    • Method Detail

      • fillBlock

        private void fillBlock()
      • hasNext

        public final boolean hasNext()
        Whether or not there are remaining values.
      • next

        public final long next()
        Return the next long in the buffer.