|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Vector of bits. Instances of (the classes that inplement) this interface represent various data flow information, and, through the bit manipulation operations this interface provides, are the basis for nontrivial flow analyses that require solving equations by iteration.
メソッドの概要 | |
BitVectorIterator |
bitVectorIterator(SubpFlow pSubpFlow)
Returns the BitVectorIterator object backed by this BitVector |
boolean |
equals(java.lang.Object pObj)
Same as vectorEqual if the specified argument is an instance of BitVector , otherwise returns false . |
int |
getBit(int pInx)
getBit Get pIndex-th bit of this bit vector. |
int |
getBitLength()
Returns the length of this BitVector , not counting the 0-th bit, which is not used. |
long[] |
getVectorWord()
Returns the array of long , which is where the actual data for this BitVector is stored. |
int |
getWordLength()
Returns the # of long words this BitVector uses to store its data. |
boolean |
isSet(int pInx)
Same as getBit(pInx) == 1 . |
boolean |
isZero()
Are all the bits zero? |
void |
resetBit(int pInx)
resetBit Reset pIndex-th bit of this bit vector to 0. |
void |
setBit(int pInx)
setBit Set pIndex-th bit of this bit vector to 1. |
java.lang.String |
toString()
toString Get the sequence of indexes corresponding to the position having 1. |
java.lang.String |
toStringDescriptive()
Returns a possibly more descriptive string representation than toString() of this BitVector . |
void |
vectorAnd(BitVector pOperand2,
BitVector pResult)
vectorAnd; Make a bit vector and set its value by executing bit-wise-and operation on this and pOperand2. |
void |
vectorCopy(BitVector pResult)
vectorCopy; Make a bit vector and set its value same to that of pOperand. |
boolean |
vectorEqual(BitVector pOperand2)
vectorEqual; See if this and pOperand2 have the same value or not. |
void |
vectorNot(BitVector pResult)
vectorNot; Make a bit vector and set its value by executing bit-wise-not operation on pOperand. |
void |
vectorOr(BitVector pOperand2,
BitVector pResult)
vectorOr; Make a bit vector and set its value by executing bit-wise-or operation on this and pOperand2. |
void |
vectorReset()
vectorReset; Reset all bits of this vector to 0. |
void |
vectorSub(BitVector pOperand2,
BitVector pResult)
vectorSub; Make a bit vector and set its value by executing bit-wise-sub operation on this and pOperand2.
|
void |
vectorXor(BitVector pOperand2,
BitVector pResult)
vectorXor; Make a bit vector and set its value by executing bit-wise exclusive-or operation on this and pOperand2. |
メソッドの詳細 |
public void setBit(int pInx)
public void resetBit(int pInx)
public int getBit(int pInx)
public boolean isSet(int pInx)
getBit(pInx) == 1
.
public boolean isZero()
public int getBitLength()
BitVector
, not counting the 0-th bit, which is not used.
public int getWordLength()
BitVector
uses to store its data.
public long[] getVectorWord()
long
, which is where the actual data for this BitVector
is stored.
public BitVectorIterator bitVectorIterator(SubpFlow pSubpFlow)
BitVectorIterator
object backed by this BitVector
public void vectorAnd(BitVector pOperand2, BitVector pResult)
this
and pOperand2.
public void vectorOr(BitVector pOperand2, BitVector pResult)
this
and pOperand2.
public void vectorXor(BitVector pOperand2, BitVector pResult)
this
and pOperand2.
public void vectorNot(BitVector pResult)
public void vectorSub(BitVector pOperand2, BitVector pResult)
this
and pOperand2.
(pOperand2 is subtracted from this.) //##62
public void vectorCopy(BitVector pResult)
public boolean vectorEqual(BitVector pOperand2)
this
and pOperand2 have the same value or not.
this
and pOperand2 have the same value,
false otherwise.public boolean equals(java.lang.Object pObj)
vectorEqual
if the specified argument is an instance of BitVector
, otherwise returns false
.
java.lang.Object
内の equals
public void vectorReset()
public java.lang.String toString()
java.lang.Object
内の toString
public java.lang.String toStringDescriptive()
toString()
of this BitVector
.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |