类 MappeableBitmapContainer

java.lang.Object
org.bitlap.roaringbitmap.buffer.MappeableContainer
org.bitlap.roaringbitmap.buffer.MappeableBitmapContainer
所有已实现的接口:
Externalizable, Serializable, Cloneable, Iterable<Character>, WordStorage<MappeableContainer>

public final class MappeableBitmapContainer extends MappeableContainer implements Cloneable
Simple bitset-like container. Unlike org.bitlap.roaringbitmap.BitmapContainer, this class uses a LongBuffer to store data.
另请参阅:
  • 字段详细资料

    • MAX_CAPACITY

      protected static final int MAX_CAPACITY
      另请参阅:
  • 构造器详细资料

    • MappeableBitmapContainer

      public MappeableBitmapContainer()
      Create a bitmap container with all bits set to false
    • MappeableBitmapContainer

      public MappeableBitmapContainer(BitmapContainer bc)
      Creates a new bitmap container from a non-mappeable one. This copies the data.
      参数:
      bc - the original container
    • MappeableBitmapContainer

      public MappeableBitmapContainer(int firstOfRun, int lastOfRun)
      Create a bitmap container with a run of ones from firstOfRun to lastOfRun, inclusive caller must ensure that the range isn't so small that an ArrayContainer should have been created instead
      参数:
      firstOfRun - first index
      lastOfRun - last index (range is exclusive)
    • MappeableBitmapContainer

      public MappeableBitmapContainer(LongBuffer array, int initCardinality)
      Construct a new BitmapContainer backed by the provided LongBuffer.
      参数:
      array - LongBuffer where the data is stored
      initCardinality - cardinality (number of values stored)
  • 方法详细资料