|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xsltc.dom.BitArray
Constructor Summary | |
BitArray(int size)
Constructor. |
Method Summary | |
int[] |
data()
Returns the integer array in which the bit array is contained |
boolean |
getBit(int bit)
Returns true if the given bit is set |
int |
getBitNumber(int pos)
|
int |
getMask()
See setMask() |
int |
getNextBit(int startBit)
Returns the next set bit from a given position |
BitArray |
merge(BitArray other)
Merge two bit arrays. |
void |
resize(int newSize)
Resizes the bit array - try to avoid using this method!!! |
void |
setBit(int bit)
Sets a given bit |
void |
setMask(int mask)
Set the mask for this bit array. |
int |
size()
Returns the size of this bit array (in bits). |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public BitArray(int size)
Method Detail |
public void setMask(int mask)
public int getMask()
public final int size()
public final boolean getBit(int bit)
public final int getNextBit(int startBit)
public final int getBitNumber(int pos)
public final int[] data()
public final void setBit(int bit)
public final BitArray merge(BitArray other)
public final void resize(int newSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |