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, forEach, getCardinality, getIntIterator, getLongCardinality, getLongSizeInBytes, getReverseIntIterator, getSizeInBytes, isEmpty, limit, rank, rankLong, 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 © 2016. All Rights Reserved.