@TestClass(value="org.openscience.cdk.ringsearch.QueueTest") public class Queue extends Vector
Constructor and Description |
---|
Queue()
Constructs an empty Queue
|
Modifier and Type | Method and Description |
---|---|
Object |
pop()
Returns an Object from the queue
|
void |
push(Object o)
Places an 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, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
@TestMethod(value="testOperations") public void push(Object o)
o
- The object to be pushed into the queue@TestMethod(value="testOperations") public Object pop()