| 
 | Groovy JDK | |||||||||
| Method Summary | |
|---|---|
| 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. | 
| Method Detail | 
|---|
public BitSet and(BitSet right)
right -  another BitSet to bitwise AND.public BitSet bitwiseNegate()
public boolean getAt(int index)
index -  index to retrieve.public BitSet getAt(IntRange range)
range -  a Range defining the desired subset.public BitSet or(BitSet right)
right -  another BitSet to bitwise AND.public void putAt(IntRange range, boolean value)
range -  the range of values to set.value -  value.public void putAt(int index, boolean value)
index -  index of the entry to set.value -  value.public BitSet xor(BitSet right)
right -  another BitSet to bitwise AND.| 
 | Groovy JDK | |||||||||