public class BoundedPriorityQueue<E> extends PriorityQueue<E>
| Constructor and Description |
|---|
BoundedPriorityQueue(Comparator<? super E> comparator,
int maxSize) |
BoundedPriorityQueue(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
offer(E o) |
add, clear, comparator, contains, iterator, 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 maxSize)
public BoundedPriorityQueue(Comparator<? super E> comparator, int maxSize)
Copyright © 2005–2013. All rights reserved.