BitSet.get

Returns the value of the bit with the specified index. The value is {@code true} if the bit with the index {@code bitIndex} is currently set in this {@code BitSet}; otherwise, the result is {@code false}.

@param bitIndex the bit index @return the value of the bit with the specified index @throws IndexOutOfBoundsException if the specified index is negative

  1. bool get(size_t bitIndex)
    class BitSet
    bool
    get
    (
    size_t bitIndex
    )
  2. BitSet get(size_t fromIndex, size_t toIndex)

Meta