public interface Stack<E>
Stack representation - LIFO.
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
E |
peek()
Retrieves, but does not remove, the last element of this deque,
or returns null if this deque is empty.
|
E |
pop() |
void |
push(E e) |
int |
size() |
Copyright © 2009-2016 Tautua. All Rights Reserved.