81 |
|
|
82 |
|
/** Returns true if no bits are set to true */ |
83 |
|
bool none(); |
84 |
+ |
|
85 |
+ |
int firstOffBit() { return !bitset_[0] ? 0 : nextOffBit(0); } |
86 |
|
|
87 |
|
/** Returns the index of the first bit that is set to false that occurs on or after the specified starting index.*/ |
88 |
|
int nextOffBit(int fromIndex) const; |
89 |
< |
|
89 |
> |
|
90 |
> |
int firstOnBit() { return bitset_[0] ? 0 : nextOnBit(0); } |
91 |
> |
|
92 |
|
/** Returns the index of the first bit that is set to true that occurs on or after the specified starting index. */ |
93 |
|
int nextOnBit(int fromIndex) const; |
94 |
|
|