- <init>
Constructs an OpenBitSet from an existing long[].
The first 64 bits are in long[0], with bit index 0
- set
Sets a range of bits, expanding the set size if necessary
- cardinality
- fastSet
Sets the bit at the specified index. The index should be less than the
OpenBitSet size.
- get
Returns true or false for the specified bit index
- getBits
Expert: returns the long[] storing the bits
- nextSetBit
Returns the index of the first set bit starting at the index specified. -1 is
returned if there are
- capacity
Returns the current capacity in bits (1 greater than the index of the last bit)
- clear
Clears a range of bits. Clearing past the end does not change the size of the
set.
- bits2words
returns the number of 64 bit words it would take to hold numBits
- getBit
returns 1 if the bit is set, 0 if not. The index should be less than the
OpenBitSet size
- getNumWords
Expert: gets the number of longs in the array that are in use