public final class BitVector extends Object
Constructor | Description |
---|---|
BitVector() |
Modifier and Type | Method | 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 © 2018. All rights reserved.