Class RoaringBatchIterator

    • Constructor Detail

      • RoaringBatchIterator

        public RoaringBatchIterator​(RoaringArray highLowContainer)
    • Method Detail

      • nextBatch

        public int nextBatch​(int[] buffer)
        Description copied from interface: BatchIterator
        Writes the next batch of integers onto the buffer, and returns how many were written. Aims to fill the buffer.
        Specified by:
        nextBatch in interface BatchIterator
        Parameters:
        buffer - - the target to write onto
        Returns:
        how many values were written during the call.
      • hasNext

        public boolean hasNext()
        Description copied from interface: BatchIterator
        Returns true is there are more values to get.
        Specified by:
        hasNext in interface BatchIterator
        Returns:
        whether the iterator is exhaused or not.