public void set(int fromIndex, int toIndex, boolean value) {
    if (fromIndex > toIndex) {
      throw new IndexOutOfBoundsException("fromIndex: " + fromIndex +
                                          " > toIndex: " + toIndex);
    }
    if (fromIndex >= 0) {
      myPositiveSet.set(fromIndex, toIndex + 1, value);
    }
    else if (toIndex < 0) {
      myNegativeSet.set(toPositive(toIndex), toPositive(fromIndex) + 1, value);
    }
    else {
      myPositiveSet.set(0, toIndex + 1, value);
      myNegativeSet.set(toPositive(-1), toPositive(fromIndex) + 1, value);
    }
  }
public void set(int fromIndex, int toIndex, boolean value)