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