code: public void set(long index) {
          int wordNum = expandingWordNum(index);
          int bit = (int)index & 0x3f;
          long bitmask = 1L << bit;
          bits[wordNum] |= bitmask;
      }
docs: sets a bit, expanding the set size if necessary