public static interface BitSetFrame.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 |
|---|---|
<T> long |
next(Access<T> access,
T handle,
long offset)
Returns index of the next bit in the iteration,
or
-1 if there are no more bits. |
<T> BitSetFrame.Bits |
reset(Access<T> access,
T handle,
long offset) |
<T> BitSetFrame.Bits reset(Access<T> access, T handle, long offset)
<T> long next(Access<T> access, T handle, long offset)
-1 if there are no more bits.-1 if there are no more bitsCopyright © 2020. All rights reserved.