| Package | Description |
|---|---|
| java.util |
| Modifier and Type | Method and Description |
|---|---|
BitSet |
BitSet.get(int pos1,
int pos2)
Retrieves the bits starting from
pos1 to pos2 and returns
back a new bitset made of these bits. |
| Modifier and Type | Method and Description |
|---|---|
void |
BitSet.and(BitSet bs)
Performs the logical AND of this
BitSet with another
BitSet. |
void |
BitSet.andNot(BitSet bs)
Clears all bits in the receiver which are also set in the parameter
BitSet. |
boolean |
BitSet.intersects(BitSet bs)
Checks if these two
BitSets have at least one bit set to true in the same
position. |
void |
BitSet.or(BitSet bs)
Performs the logical OR of this
BitSet with another BitSet. |
void |
BitSet.xor(BitSet bs)
Performs the logical XOR of this
BitSet with another BitSet. |
Copyright © 2025. All rights reserved.