BitSet
Constructors
Properties
Functions
Returns true if the specified BitSet has any bits set to true that are also set to true in this BitSet.
Returns an index of a next bit which value is false
after startIndex (inclusive). Returns size if there is no such bits between startIndex and size - 1 assuming that the set has an infinite sequence of false
bits after (size - 1)-th.
Returns an index of a next bit which value is true
after startIndex (inclusive). Returns -1 if there is no such bits after startIndex.
Returns the biggest index of a bit which value is lookFor before startIndex (inclusive). Returns -1 if there is no such bits before startIndex. If startIndex>= size returns -1
Returns the biggest index of a bit which value is false
before startIndex (inclusive). Returns -1 if there is no such bits before startIndex or if startIndex == -1. If startIndex>= size will return startIndex assuming that the set has an infinite sequence of false
bits after (size - 1)-th.
Returns the biggest index of a bit which value is true
before startIndex (inclusive). Returns -1 if there is no such bits before startIndex or if startIndex == -1. If startIndex>= size will search from (size - 1)-th bit.
Set the bit specified to the specified value.
Sets the bits from the range specified to the specified value.