com.itextpdf.text.pdf.qrcode
Class BitVector

java.lang.Object
  extended by com.itextpdf.text.pdf.qrcode.BitVector

public final class BitVector
extends Object

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.

Since:
5.0.2
Author:
satorux@google.com (Satoru Takabayashi) - creator, dswitkin@google.com (Daniel Switkin) - ported from C++

Constructor Summary
BitVector()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitVector

public BitVector()
Method Detail

at

public int at(int index)

size

public int size()

sizeInBytes

public int sizeInBytes()

appendBit

public void appendBit(int bit)

appendBits

public void appendBits(int value,
                       int numBits)

appendBitVector

public void appendBitVector(BitVector bits)

xor

public void xor(BitVector other)

toString

public String toString()
Overrides:
toString in class Object

getArray

public byte[] getArray()


Copyright © 2013. All Rights Reserved.