public final class BitVector
extends java.lang.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() |
|
java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public byte[] getArray()
Copyright © 1998–2018. All rights reserved.