org.openfast
Class BitVector

java.lang.Object
  extended by org.openfast.BitVector

public class BitVector
extends java.lang.Object


Constructor Summary
BitVector(byte[] bytes)
           
BitVector(int size)
           
 
Method Summary
 boolean equals(BitVector other)
           
 boolean equals(java.lang.Object obj)
           
 byte[] getBytes()
           
 int getSize()
           
 byte[] getTruncatedBytes()
           
 int hashCode()
           
 int indexOfLastSet()
           
 boolean isOverlong()
           
 boolean isSet(int fieldIndex)
           
 void set(int fieldIndex)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitVector

public BitVector(int size)

BitVector

public BitVector(byte[] bytes)
Method Detail

getBytes

public byte[] getBytes()

getTruncatedBytes

public byte[] getTruncatedBytes()

getSize

public int getSize()

set

public void set(int fieldIndex)

isSet

public boolean isSet(int fieldIndex)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(BitVector other)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isOverlong

public boolean isOverlong()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

indexOfLastSet

public int indexOfLastSet()


Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.