set method

void set(
  1. int i
)

Implementation

void set(int i) {
  if (i >= 0 && i < size) bits[i] = 1;
}