|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
BitVectorIterator interface (##6)
| メソッドの概要 | |
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(). |
| メソッドの詳細 |
public boolean hasNext()
BitVector associated with this BitVectorIterator has more elements. This method does not check the contents of the remaining bits.
public int next()
BitVectorIterator.
public int nextIndex()
hasNext returned true does not guarantee this method returns meaningful (nonzero) value.
public int currentIndex()
next() or nextIndex().
public void setBit()
public void resetBit()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||