org.sourcejammer.util
Class Queue

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--org.sourcejammer.util.Queue
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class Queue
extends java.util.Vector

Title: $FileName: Queue.java$

Version:
$$VerNum: 2$

$Description: A Queue object. First in, first out. Like Stack, but FIFO$. $KeyWordsOff: $
Author:
$AuthorName: Rob MacGrogan$
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Queue()
           
 
Method Summary
 boolean empty()
           
 java.lang.Object peek()
           
 java.lang.Object pop()
           
 void push(java.lang.Object item)
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

Queue

public Queue()
Method Detail

empty

public boolean empty()

push

public void push(java.lang.Object item)

pop

public java.lang.Object pop()

peek

public java.lang.Object peek()


Copyright 2003 Soucejammer project.