public class BitArray
extends java.lang.Object
コンストラクタと説明 |
---|
BitArray(int bitsPerEntryIn,
int arraySizeIn) |
BitArray(int bitsPerEntryIn,
int arraySizeIn,
long[] data) |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
bitsPerEntry() |
void |
getAll(java.util.function.IntConsumer consumer) |
int |
getAt(int index)
Gets the entry at the given index
|
long[] |
getBackingLongArray()
Gets the long array that is used to store the data in this BitArray.
|
void |
setAt(int index,
int value)
Sets the entry at the given location to the given value
|
int |
size() |
int |
swapAt(int index,
int value) |
public BitArray(int bitsPerEntryIn, int arraySizeIn)
public BitArray(int bitsPerEntryIn, int arraySizeIn, long[] data)
public int swapAt(int index, int value)
public void setAt(int index, int value)
public int getAt(int index)
public long[] getBackingLongArray()
public int size()
public int bitsPerEntry()
public void getAll(java.util.function.IntConsumer consumer)