public class WrappedBitSetBitmap extends WrappedImmutableBitSetBitmap implements MutableBitmap
bitmap
Constructor and Description |
---|
WrappedBitSetBitmap() |
WrappedBitSetBitmap(BitSet bitSet) |
WrappedBitSetBitmap(ByteBuffer byteBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
add(int entry)
Add the specified integer to the bitmap.
|
void |
and(MutableBitmap mutableBitmap) |
void |
andNot(MutableBitmap mutableBitmap) |
void |
clear()
Empties the content of this bitmap.
|
protected BitSet |
cloneBitSet() |
int |
getSizeInBytes()
Return the size in bytes for the purpose of serialization to a ByteBuffer.
|
void |
or(MutableBitmap mutableBitmap)
Compute the bitwise-or of this bitmap with another bitmap.
|
void |
remove(int entry)
Remove the specified integer to the bitmap.
|
void |
serialize(ByteBuffer buffer) |
get, intersection, isEmpty, iterator, size, toBytes, union
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, intersection, isEmpty, iterator, size, toBytes
public WrappedBitSetBitmap()
public WrappedBitSetBitmap(BitSet bitSet)
public WrappedBitSetBitmap(ByteBuffer byteBuffer)
protected BitSet cloneBitSet()
public void clear()
MutableBitmap
clear
in interface MutableBitmap
public void or(MutableBitmap mutableBitmap)
MutableBitmap
or
in interface MutableBitmap
mutableBitmap
- other bitmappublic void and(MutableBitmap mutableBitmap)
public void andNot(MutableBitmap mutableBitmap)
public int getSizeInBytes()
MutableBitmap
getSizeInBytes
in interface MutableBitmap
public void add(int entry)
MutableBitmap
add
in interface MutableBitmap
entry
- integer to be addedpublic void remove(int entry)
MutableBitmap
remove
in interface MutableBitmap
entry
- integer to be removepublic void serialize(ByteBuffer buffer)
Copyright © 2011–2018. All rights reserved.