public interface BitmapDataProvider extends ImmutableBitmapDataProvider
| Modifier and Type | Method and Description |
|---|---|
void |
add(int x)
set the value to "true", whether it already appears or not.
|
void |
remove(int x)
If present remove the specified integers (effectively, sets its bit
value to false)
|
int |
select(int j)
Return the jth value stored in this bitmap.
|
void |
trim()
Recover allocated but unused memory.
|
contains, getCardinality, getIntIterator, getReverseIntIterator, getSizeInBytes, isEmpty, limit, rank, serialize, serializedSizeInBytes, toArrayvoid add(int x)
x - integer valuevoid remove(int x)
x - integer value representing the index in a bitmapint select(int j)
select in interface ImmutableBitmapDataProviderj - index of the valuevoid trim()
Copyright © 2015. All Rights Reserved.