code: public static <T> T removeLast( List<T> list )
      {
          return remove( list, list.size() - 1 );
      }
docs: <p>removeLast.</p>
  
  @param list a {@link java.util.List} object.
  @param <T> a T object.
  @return a T object.