public int lastIndexOf(int element) {
    assertShort(element);
    for(int i = mySize - 1; i >= 0; i--){
      if (element == myData[i]) return i;
    }
    return -1;
  }
public int lastIndexOf(int element)