E - 成员类型public class BoundedPriorityQueue<E> extends PriorityQueue<E>
| 构造器和说明 |
|---|
BoundedPriorityQueue(int capacity) |
BoundedPriorityQueue(int capacity,
Comparator<? super E> comparator) |
| 限定符和类型 | 方法和说明 |
|---|---|
Iterator<E> |
iterator() |
boolean |
offer(E e) |
ArrayList<E> |
toList() |
add, clear, comparator, contains, peek, poll, remove, size, toArray, toArrayaddAll, element, removecontainsAll, isEmpty, removeAll, retainAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, removeAll, retainAllpublic BoundedPriorityQueue(int capacity)
public BoundedPriorityQueue(int capacity,
Comparator<? super E> comparator)
Copyright © 2014. All rights reserved.