|
Groovy JDK | |||||||||
| Method Summary | |
|---|---|
BitSet
|
and(BitSet)
Bitwise AND together two BitSets. |
BitSet
|
bitwiseNegate()
Bitwise NEGATE a BitSet. |
boolean
|
getAt(int)
Support the subscript operator for a Bitset |
BitSet
|
getAt(IntRange)
Support retrieving a subset of a BitSet using a Range |
BitSet
|
or(BitSet)
Bitwise OR together two BitSets. |
void
|
putAt(IntRange, boolean)
Support assigning a range of values with a single assignment statement. |
void
|
putAt(int, boolean)
Support subscript-style assignment for a BitSet. |
BitSet
|
xor(BitSet)
Bitwise XOR together two BitSets. |
| Method Detail |
|---|
public BitSet and(BitSet)
right - another BitSet to bitwise AND.public BitSet bitwiseNegate()
public boolean getAt(int)
index - index to retrieve.public BitSet getAt(IntRange)
range - a Range defining the desired subset.public BitSet or(BitSet)
right - another BitSet to bitwise AND.public void putAt(IntRange, boolean)
range - the range of values to set.value - value.public void putAt(int, boolean)
index - index of the entry to set.value - value.public BitSet xor(BitSet)
right - another BitSet to bitwise AND.
|
Groovy JDK | |||||||||