Return type | Name and parameters |
---|---|
BitSet
|
and(BitSet right)
Bitwise AND together two BitSets. |
BitSet
|
bitwiseNegate()
Bitwise NEGATE a BitSet. |
boolean
|
getAt(int index)
Support the subscript operator for a Bitset |
BitSet
|
getAt(IntRange range)
Support retrieving a subset of a BitSet using a Range |
BitSet
|
or(BitSet right)
Bitwise OR together two BitSets. |
void
|
putAt(IntRange range, boolean value)
Support assigning a range of values with a single assignment statement. |
void
|
putAt(int index, boolean value)
Support subscript-style assignment for a BitSet. |
BitSet
|
xor(BitSet right)
Bitwise XOR together two BitSets. |
Bitwise AND together two BitSets.
right
- another BitSet to bitwise AND.Bitwise NEGATE a BitSet.
Support the subscript operator for a Bitset
index
- index to retrieve.Support retrieving a subset of a BitSet using a Range
range
- a Range defining the desired subset.Bitwise OR together two BitSets. Called when the '|' operator is used between two bit sets.
right
- another BitSet to bitwise AND.Support assigning a range of values with a single assignment statement.
range
- the range of values to set.value
- value.Support subscript-style assignment for a BitSet.
index
- index of the entry to set.value
- value.