BitSet.any
Checks if there are any indexes in the bitset.
Arguments
None
Return values
condition
is TRUE if any elements are set, FALSE otherwise.
Complexity
O(size)
Example
Output:
FALSE
TRUE
TRUE
Checks if there are any indexes in the bitset.
None
O(size)