org.roaringbitmap.longlong.LongBitmapDataProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of RoaringBitmap Show documentation
Show all versions of RoaringBitmap Show documentation
Roaring bitmaps are compressed bitmaps (also called bitsets) which tend to outperform
conventional compressed bitmaps such as WAH or Concise.
/*
* (c) the authors Licensed under the Apache License, Version 2.0.
*/
package org.roaringbitmap.longlong;
/**
* Representing a general bitmap interface.
*
*/
public interface LongBitmapDataProvider extends ImmutableLongBitmapDataProvider {
/**
* set the value to "true", whether it already appears or not.
*
* @param x long value
*/
void addLong(long x);
/**
* If present remove the specified integers (effectively, sets its bit value to false)
*
* @param x long value representing the index in a bitmap
*/
void removeLong(long x);
/**
* Recover allocated but unused memory.
*/
void trim();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy