public static interface DirectBitSet.Bits
Usage idiom:
Bits bits = bitSet.setBits();
for (long bit; (bit = bits.next()) >= 0;) {
// do something with the bit
}
Modifier and Type | Method and Description |
---|---|
long |
next()
Returns index of the next bit in the iteration,
or
-1 if there are no more bits. |
Copyright © 2019. All rights reserved.