|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.Vector<E> java.util.Stack net.sf.bddbddb.order.StackQueue
public class StackQueue
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
StackQueue()
|
Method Summary | |
---|---|
java.lang.Object |
element()
Retrieves, but does not remove, the head of this queue. |
boolean |
offer(java.lang.Object arg0)
Inserts the specified element into this queue, if possible. |
java.lang.Object |
poll()
Retrieves and removes the head of this queue, or null if this queue is empty. |
java.lang.Object |
remove()
Retrieves and removes the head of this queue. |
Methods inherited from class java.util.Stack |
---|
empty, peek, pop, push, search |
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 net.sf.bddbddb.order.Queue |
---|
peek |
Methods inherited from interface java.util.Collection |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Constructor Detail |
---|
public StackQueue()
Method Detail |
---|
public boolean offer(java.lang.Object arg0)
Queue
Collection.add(E)
, which can fail to
insert an element only by throwing an exception.
offer
in interface Queue
arg0
- the element to insert.
public java.lang.Object poll()
Queue
poll
in interface Queue
public java.lang.Object remove()
Queue
remove
in interface Queue
public java.lang.Object element()
Queue
element
in interface Queue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |