@Nullable public V removeLast(){
  return vals.isEmpty() ? null : vals.removeLast();
}

@ Nullable public V removeLast ( ) { return vals . isEmpty ( ) ? null : vals . removeLast ( ) ; }
removes the last element of this list .
