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, unionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, intersection, isEmpty, iterator, size, toBytespublic WrappedBitSetBitmap()
public WrappedBitSetBitmap(BitSet bitSet)
public WrappedBitSetBitmap(ByteBuffer byteBuffer)
protected BitSet cloneBitSet()
public void clear()
MutableBitmapclear in interface MutableBitmappublic void or(MutableBitmap mutableBitmap)
MutableBitmapor in interface MutableBitmapmutableBitmap - other bitmappublic void and(MutableBitmap mutableBitmap)
public void andNot(MutableBitmap mutableBitmap)
public int getSizeInBytes()
MutableBitmapgetSizeInBytes in interface MutableBitmappublic void add(int entry)
MutableBitmapadd in interface MutableBitmapentry - integer to be addedpublic void remove(int entry)
MutableBitmapremove in interface MutableBitmapentry - integer to be removepublic void serialize(ByteBuffer buffer)
Copyright © 2011–2018. All rights reserved.