polyglot.util
Class BitVector

java.lang.Object
  extended by polyglot.util.BitVector

public class BitVector
extends java.lang.Object

A bit vector class implemented more naively than java.util.BitSet.


Constructor Summary
BitVector()
           
BitVector(int initialSize)
           
 
Method Summary
 boolean getBit(int which)
           
 void setBit(int which, boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitVector

public BitVector()

BitVector

public BitVector(int initialSize)
Method Detail

setBit

public final void setBit(int which,
                         boolean value)

getBit

public final boolean getBit(int which)