public class ConcurrentPackedBitsArray
extends java.lang.Object
ConcurrentBitSet, only for bit chunk instead of bit.| Constructor and Description |
|---|
ConcurrentPackedBitsArray(int bitsPerChunk) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
long |
get(int id)
returns
bitsPerChunk bits stored at the offset "id"
The returned bits are LSB, other (ConcurrentBitSet.BITS_PER_WORD-bitsPerChunk) higher bits are undefined |
long |
set(int id,
long flags) |
public long get(int id)
bitsPerChunk bits stored at the offset "id"
The returned bits are LSB, other (ConcurrentBitSet.BITS_PER_WORD-bitsPerChunk) higher bits are undefinedpublic long set(int id,
long flags)
public void clear()