StarOffice 5.2 API
reverse engineered by classdoc

stardiv.memory
Class BitArray

java.lang.Object
  |
  +--stardiv.memory.BitArray
All Implemented Interfaces:
java.lang.Cloneable, stardiv.concepts.ModifyTestable

public synchronized class BitArray
extends java.lang.Object
implements java.lang.Cloneable, stardiv.concepts.ModifyTestable


Field Summary
private  int[] pBits
           
private static byte[] pPosMapper
           
 
Constructor Summary
BitArray()
           
BitArray(int i)
           
BitArray(stardiv.memory.BitArray ba)
           
 
Method Summary
 void and(stardiv.memory.BitArray ba)
           
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 int getAndPos(stardiv.memory.BitArray ba)
           
 boolean getBit(int i)
           
static byte getBitPos(int i)
           
 int getLength()
           
 java.lang.Object getModifyHandle()
           
 int getNext(int i, boolean b)
           
 int getNextSet(int i)
           
 int getNextUnset(int i)
           
 boolean isEmpty()
           
 boolean isModified(java.lang.Object o)
           
 void or(stardiv.memory.BitArray ba)
           
 void setBit(int i, boolean b)
           
 void setLength(int i)
           
 void toggleBit(int i)
           
 int toggleNext(int i, boolean b)
           
 void xor(stardiv.memory.BitArray ba)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pBits

private int[] pBits

pPosMapper

private static byte[] pPosMapper
Constructor Detail

BitArray

public BitArray()

BitArray

public BitArray(int i)

BitArray

public BitArray(stardiv.memory.BitArray ba)
Method Detail

and

public void and(stardiv.memory.BitArray ba)

clone

public final java.lang.Object clone()

equals

public final boolean equals(java.lang.Object o)
Overrides:
equals in class ProgramElementDocImpl

getAndPos

public int getAndPos(stardiv.memory.BitArray ba)

getBit

public final boolean getBit(int i)

getBitPos

public static byte getBitPos(int i)

getLength

public final int getLength()

getModifyHandle

public final java.lang.Object getModifyHandle()
Specified by:
getModifyHandle in interface stardiv.concepts.ModifyTestable

getNext

public final int getNext(int i,
                         boolean b)

getNextSet

public final int getNextSet(int i)

getNextUnset

public final int getNextUnset(int i)

isEmpty

public boolean isEmpty()

isModified

public final boolean isModified(java.lang.Object o)
Specified by:
isModified in interface stardiv.concepts.ModifyTestable

or

public void or(stardiv.memory.BitArray ba)

setBit

public final void setBit(int i,
                         boolean b)

setLength

public final void setLength(int i)

toggleBit

public final void toggleBit(int i)

toggleNext

public final int toggleNext(int i,
                            boolean b)

xor

public void xor(stardiv.memory.BitArray ba)

StarOffice 5.2 API
reverse engineered by classdoc