public class FIFOQueue extends Vector implements Queue
capacityIncrement, elementCount, elementDatamodCount| Constructor and Description |
|---|
FIFOQueue() |
| Modifier and Type | Method and Description |
|---|---|
Object |
peek()
Gets the first object in the queue without removing it from the queue
|
Object |
pop()
Gets the first object in the queue and remove it from the queue
|
void |
push(Object obj)
Adds a new object into the queue
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSizeCopyright © 1999–2015 The Apache Software Foundation. All rights reserved.