java.util
public class PriorityQueue<E> extends AbstractQueue<E> implements Serializable
Since: 1.5
Constructor Summary | |
---|---|
PriorityQueue() | |
PriorityQueue(Collection<? extends E> c) | |
PriorityQueue(int cap) | |
PriorityQueue(int cap, Comparator<? super E> comp) | |
PriorityQueue(PriorityQueue<? extends E> c) | |
PriorityQueue(SortedSet<? extends E> c) |
Method Summary | |
---|---|
boolean | addAll(Collection<? extends E> c) |
void | clear() |
Comparator<? super E> | comparator() |
Iterator<E> | iterator() |
boolean | offer(E o) |
E | peek() |
E | poll() |
boolean | remove(Object o) |
int | size() |