Constructors
Name | Description |
---|---|
BitSet() | Creates an empty set. |
BitSet(int) | Creates an empty set with the specified size. |
Methods
Name | Description |
---|---|
and(BitSet) | Logically ANDs this bit set with the specified set of bits. |
clear(int) | Clears a bit. |
clone() | Clones the BitSet. |
equals(Object) | Compares this object against the specified object. |
get(int) | Gets a bit. |
hashCode() | Gets the hashcode. |
or(BitSet) | Logically ORs this bit set with the specified set of bits. |
set(int) | Sets a bit. |
size() | Calculates and returns the set's size in bits. |
toString() | Converts the BitSet to a String. |
xor(BitSet) | Logically XORs this bit set with the specified set of bits. |