code: final Object peek() {
          int size = stack.size();
          return size == 0 ? null : stack.get(size - 1);
      }
docs: Return the top object on the stack without removing it. If there are no
  objects on the stack, return <code>null</code>.
  
  @return the top object on the stack without removing it.