Open SiteSearch 4.1.1
Final

ORG.oclc.xml.util
Class Queue

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--ORG.oclc.xml.util.Queue

public class Queue
extends Vector

See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Queue()
          Creates a new queue with no elements.
 
Method Summary
 boolean empty()
           
 Object peek()
          Looks at the object at the front of this queue without removing it
 Object pull()
          Removes the object at the front of queue and returns that object
 Object push(Object item)
          Pushes an item onto the end of this queue
 int search(Object o)
          Determines if an object is in this queue.
 
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
 

Constructor Detail

Queue

public Queue()
Creates a new queue with no elements.
Method Detail

empty

public boolean empty()

peek

public Object peek()
Looks at the object at the front of this queue without removing it

pull

public Object pull()
Removes the object at the front of queue and returns that object

push

public Object push(Object item)
Pushes an item onto the end of this queue

search

public int search(Object o)
Determines if an object is in this queue.

Open SiteSearch 4.1.1
Final