| Modifier and Type | Field and Description |
|---|---|
| private final PStack | |
| private static final AmortizedPQueue | |
| private final PStack | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <E> AmortizedPQueue | |
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements in this collection. |
| public AmortizedPQueue | |
| public PCollection | |
| public PCollection | |
| public E | peek()
Implements java. Retrieves, but does not remove, the head of this queue,
or returns |
| public AmortizedPQueue | |
| public AmortizedPQueue | |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this collection. |
| back | back to summary |
|---|---|
| private final PStack<E> back | |
| EMPTY | back to summary |
|---|---|
| private static final AmortizedPQueue<Object> EMPTY | |
| front | back to summary |
|---|---|
| private final PStack<E> front | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AmortizedPQueue | back to summary |
|---|---|
| private AmortizedPQueue() | |
| AmortizedPQueue | back to summary |
|---|---|
| private AmortizedPQueue(AmortizedPQueue<E> queue, E e) | |
| AmortizedPQueue | back to summary |
|---|---|
| private AmortizedPQueue(PStack<E> front, PStack<E> back) | |
| empty | back to summary |
|---|---|
public static <E> AmortizedPQueue
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this collection. There are no guarantees concerning the order in which the elements are returned (unless this collection is an instance of some class that provides a guarantee). | |
| minus | back to summary |
|---|---|
| public AmortizedPQueue Implements org. | |
| minus | back to summary |
|---|---|
| public PCollection Implements org.
| |
| minusAll | back to summary |
|---|---|
| public PCollection Implements org.
| |
| peek | back to summary |
|---|---|
| public E peek() Implements java. Doc from java. Retrieves, but does not remove, the head of this queue,
or returns
| |
| plus | back to summary |
|---|---|
| public AmortizedPQueue Implements org.
| |
| plusAll | back to summary |
|---|---|
| public AmortizedPQueue Implements org.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this collection. If this collection
contains more than
| |