|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.zxing.qrcode.encoder.BitVector
public final class BitVector
JAVAPORT: This should be combined with BitArray in the future, although that class is not yet dynamically resizeable. This implementation is reasonable but there is a lot of function calling in loops I'd like to get rid of.
| Constructor Summary | ||
|---|---|---|
BitVector()
Deprecated. |
||
| Method Summary | ||
|---|---|---|
void |
appendBit(int bit)
Deprecated. |
|
void |
appendBitVector(BitVector bits)
Deprecated. |
|
void |
appendBits(int value,
int numBits)
Deprecated. |
|
int |
at(int index)
Deprecated. |
|
byte[] |
getArray()
Deprecated. |
|
int |
size()
Deprecated. |
|
int |
sizeInBytes()
Deprecated. |
|
String |
toString()
Deprecated. Returns a string representation of the object. |
|
void |
xor(BitVector other)
Deprecated. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BitVector()
| Method Detail |
|---|
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 String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class Objectpublic byte[] getArray()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal