T - The type of objects contained in this LIFO.public class LIFO<T>
extends java.util.AbstractQueue<T>
Queue interface, i.e. a stack.| Constructor and Description |
|---|
LIFO() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<T> |
iterator()
See
Collection.iterator(). |
boolean |
offer(T e)
See
Queue.offer(Object). |
T |
peek()
See
Queue.peek(). |
T |
poll()
See
Queue.poll(). |
int |
size()
See
Collection.size(). |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, wait