code: private void removeTrail() {
          int last = this.size - 1;
          while (last >= 0 && this.arr[last] == this.blankElement) {
              last--;
          }
          this.size = last + 1;
      }
docs: Postcondition: this.list.get(this.list.size()-1) != blankElement