BitSet.get

Returns a new {@code BitSet} composed of bits from this {@code BitSet} from {@code fromIndex} (inclusive) to {@code toIndex} (exclusive).

@param fromIndex index of the first bit to include @param toIndex index after the last bit to include @return a new {@code BitSet} from a range of this {@code BitSet} @throws IndexOutOfBoundsException if {@code fromIndex} is negative, or {@code toIndex} is negative, or {@code fromIndex} is larger than {@code toIndex}

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

Meta