| Modifier and Type | Field and Description |
|---|---|
static BufferBitSet |
BufferBitSet.EMPTY_BITSET
An empty, non-resizable
BufferBitSet |
| Modifier and Type | Method and Description |
|---|---|
BufferBitSet |
BufferBitSet.copy()
|
BufferBitSet |
BufferBitSet.get(int fromIndex,
int toIndex)
Returns a new
BufferBitSet composed of bits from this bitset from
fromIndex (inclusive) to toIndex (exclusive). |
static BufferBitSet |
BufferBitSet.random(int n,
int size)
|
static BufferBitSet |
BufferBitSet.readFrom(ReadableByteChannel channel)
Read a bitset from the specified
ReadableByteChannel. |
BufferBitSet |
BufferBitSet.resizable(boolean resizable)
Returns a new
BufferBitSet with the specified resizability. |
BufferBitSet |
BufferBitSet.shiftRight(int offset)
Returns a copy of this bitset with each bit shifted right by
offset. |
static BufferBitSet |
BufferBitSet.valueOf(BitSet bs)
Returns a new resizable
BufferBitSet containing all of the bits in
the given BitSet. |
static BufferBitSet |
BufferBitSet.valueOf(byte[] bytes)
Returns a new resizable bitset containing all of the bits in the given byte
array.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BufferBitSet.and(BufferBitSet set)
Performs a logical AND of this target bitset with the argument bitset.
|
void |
BufferBitSet.andNot(BufferBitSet set)
Clears all of the bits in this bitset whose corresponding bit is set in the
specified bitset.
|
void |
BufferBitSet.or(BufferBitSet set)
Performs a logical OR of this bitset with the bitset argument.
|
void |
BufferBitSet.xor(BufferBitSet set)
Performs a logical XOR of this bitset with the bitset argument.
|
Copyright © 2020. All rights reserved.