pop method
T
pop()
get the top of the stack and delete it.
Implementation
T pop() {
T res = _list.last;
_list.removeLast();
return res;
}
get the top of the stack and delete it.
T pop() {
T res = _list.last;
_list.removeLast();
return res;
}