T set(int index, T value) {
    int arrayIndex = myFirst + index;
    if (isWrapped && arrayIndex >= myArray.length) {
      arrayIndex -= myArray.length;
    }
    T old = getRaw(arrayIndex);
    myArray[arrayIndex] = value;
    return old;
  }
T set(int index, T value)