OpenBitSetIterator
instead.@Deprecated public class BitSetIterator extends Object
Modifier and Type | Field and Description |
---|---|
protected static int[] |
bitlist
Deprecated.
|
Constructor and Description |
---|
BitSetIterator(long[] bits,
int numWords)
Deprecated.
|
BitSetIterator(OpenBitSet obs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
next()
Deprecated.
alternate shift implementations
// 32 bit shifts, but a long shift needed at the end
private void shift2() {
int y = (int)word;
if (y==0) {wordShift +=32; y = (int)(word >>>32); }
if ((y & 0x0000FFFF) == 0) { wordShift +=16; y>>>=16; }
if ((y & 0x000000FF) == 0) { wordShift +=8; y>>>=8; }
indexArray = bitlist[y & 0xff];
word >>>= (wordShift +1);
}
private void shift3() {
int lower = (int)word;
int lowByte = lower & 0xff;
if (lowByte !
|
int |
next(int fromIndex)
Deprecated.
|
public BitSetIterator(OpenBitSet obs)
public BitSetIterator(long[] bits, int numWords)
public int next()
public int next(int fromIndex)