- set
Sets the bit at the specified index to the specified value.
- get
Returns a new BitSet composed of bits from this BitSet from fromIndex(inclusive)
to toIndex(exclusiv
- <init>
Creates a bit set using words as the internal representation. The last word (if
there is one) must b
- clear
Sets the bits from the specified fromIndex(inclusive) to the specified
toIndex(exclusive) to false.
- nextSetBit
- cardinality
Returns the number of bits set to true in thisBitSet.
- length
Returns the "logical size" of this BitSet: the index of the highest set bit in
the BitSet plus one.
- or
Performs a logical OR of this bit set with the bit set argument. This bit set is
modified so that a
- clone
Cloning this BitSet produces a new BitSet that is equal to it. The clone of the
bit set is another b
- size
Returns the number of bits of space actually in use by thisBitSet to represent
bit values. The maxim
- isEmpty
Returns true if this BitSet contains no bits that are set to true.
- nextClearBit
Returns the index of the first bit that is set to false that occurs on or after
the specified starti