public T removeLast() {
    if (myLast == 0) {
      isWrapped = !isWrapped;
      myLast = myArray.length;
    }
    myLast--;
    T result = getRaw(myLast);
    myArray[myLast] = null;
    return result;
  }
public T removeLast()