|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.flow.BitVectorIteratorImpl
BitVectorIteratorImpl class (##6)
フィールドの概要 | |
protected int |
fBitCount
|
protected int |
fBitPosition
|
protected BitVector |
fBitVector
|
protected int |
fLongWordLength
|
protected int |
fShiftMax
|
SubpFlow |
fSubpFlow
|
protected long[] |
fVectorWord
|
コンストラクタの概要 | |
BitVectorIteratorImpl(SubpFlow pSubpFlow,
BitVector pBitVector)
|
メソッドの概要 | |
int |
currentIndex()
Returns the current index of bit position. |
boolean |
hasNext()
hasNext Sees whether the BitVector associated with this BitVectorIterator has more elements. |
int |
next()
Returns the next bit position of this BitVectorIterator . |
int |
nextIndex()
nextIndex Returns the next index of bit position that has value 1. |
void |
resetBit()
Resets the bit for the position returned by the last call to next() or nextIndex(). |
void |
setBit()
Sets the bit for the position returned by the last call to next() or nextIndex(). |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected int fLongWordLength
protected int fBitCount
protected int fShiftMax
protected long[] fVectorWord
protected final BitVector fBitVector
protected int fBitPosition
public final SubpFlow fSubpFlow
コンストラクタの詳細 |
public BitVectorIteratorImpl(SubpFlow pSubpFlow, BitVector pBitVector)
メソッドの詳細 |
public boolean hasNext()
BitVectorIterator
の記述: BitVector
associated with this BitVectorIterator
has more elements. This method does not check the contents of the remaining bits.
BitVectorIterator
内の hasNext
public int next()
BitVectorIterator
の記述: BitVectorIterator
.
BitVectorIterator
内の next
public int nextIndex()
BitVectorIterator
の記述: hasNext
returned true
does not guarantee this method returns meaningful (nonzero) value.
BitVectorIterator
内の nextIndex
public int currentIndex()
BitVectorIterator
の記述: next()
or nextIndex()
.
BitVectorIterator
内の currentIndex
public void resetBit()
BitVectorIterator
の記述:
BitVectorIterator
内の resetBit
public void setBit()
BitVectorIterator
の記述:
BitVectorIterator
内の setBit
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |