code: final Object pop() {
          int size = stack.size();
          return size == 0 ? null : stack.remove(size - 1);
      }
docs: Pop the top object off of the stack, and return it. If there are no
  objects on the stack, return <code>null</code>.
  
  @return the top object off of the stack.