public final class BitVector extends Object
Constructor and Description |
---|
BitVector() |
Modifier and Type | Method and Description |
---|---|
void |
appendBit(int bit) |
void |
appendBits(int value, int numBits) |
void |
appendBitVector(BitVector bits) |
int |
at(int index) |
byte[] |
getArray() |
int |
size() |
int |
sizeInBytes() |
String |
toString() |
void |
xor(BitVector other) |
public int at(int index)
public int size()
public int sizeInBytes()
public void appendBit(int bit)
public void appendBits(int value, int numBits)
public void appendBitVector(BitVector bits)
public void xor(BitVector other)
public byte[] getArray()
Copyright © 1998–2022. All rights reserved.