code: public void set(int index, long value) {
      assert index >= 0 : "index (" + index + ") should >= 0";
      assert index < length : "index (" + index + ") should < length (" + length + ")";
      Platform.putLong(baseObj, baseOffset + index * WIDTH, value);
    }
docs: Sets the value at position {@code index}.