public static interface BitSet.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. |
BitSet.Bits |
reset() |
BitSet.Bits reset()
long next()
-1 if there are no more bits.-1 if there are no more bitsCopyright © 2018. All rights reserved.