push method
E
push(
- E item
push element in top of the stack.
Implementation
E push(E item) {
_list.addLast(item);
return item;
}
push element in top of the stack.
E push(E item) {
_list.addLast(item);
return item;
}