| Return type | Name and parameters |
|---|---|
BitSet
|
and(BitSet right)
Bitwise AND together two BitSets. |
BitSet
|
bitwiseNegate()
Bitwise NEGATE a BitSet. |
BitSet
|
getAt(IntRange range)
Support retrieving a subset of a BitSet using a Range |
boolean
|
getAt(int index)
Support the subscript operator for a Bitset |
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. |
addShutdownHook, any, any, asBoolean, asType, collect, collect, collect, contains, count, dump, each, eachWithIndex, equals, every, every, find, find, findAll, findAll, findIndexOf, findIndexOf, findIndexValues, findIndexValues, findLastIndexOf, findLastIndexOf, findResult, findResult, flatten, getAt, getMetaClass, getMetaPropertyValues, getProperties, grep, grep, groupBy, groupBy, hasProperty, identity, inject, inject, inspect, invokeMethod, is, isCase, iterator, join, metaClass, print, print, printf, printf, println, println, println, putAt, respondsTo, respondsTo, setMetaClass, size, split, sprintf, sprintf, sum, sum, sum, sum, toArrayString, toSpreadMap, toString, use, use, use, with, withTraits
Bitwise AND together two BitSets.
right - another BitSet to bitwise ANDBitwise NEGATE a BitSet.
Support retrieving a subset of a BitSet using a Range
range - a Range defining the desired subsetSupport the subscript operator for a Bitset
index - index to retrieveBitwise OR together two BitSets. Called when the '|' operator is used between two bit sets.
right - another BitSet to bitwise ANDSupport assigning a range of values with a single assignment statement.
range - the range of values to setvalue - valueSupport subscript-style assignment for a BitSet.
index - index of the entry to setvalue - value