peek method

E peek()

get the top of the stack without deleting it.

Implementation

E peek() {
  return _list.last;
}