All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.roaringbitmap.PeekableCharRankIterator Maven / Gradle / Ivy

Go to download

Roaring bitmaps are compressed bitmaps (also called bitsets) which tend to outperform conventional compressed bitmaps such as WAH or Concise.

There is a newer version: 1.3.0
Show newest version
package org.roaringbitmap;

/**
 * PeekableCharIterator that calculates the next value rank during iteration
 */
public interface PeekableCharRankIterator extends PeekableCharIterator {

  /**
   * peek in-container rank of the next value
   *
   * Uses integer because internal representation of rank is int
   * and in-container rank lies in range 1-65536
   *
   * @return rank of the next value
   */
  int peekNextRank();

  @Override
  PeekableCharRankIterator clone();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy