public interface PriorityQueue<T> extends Queue<T>
Modifier and Type | Method and Description |
---|---|
boolean |
containsTyped(T node)
Same as
Collection.contains(Object) but typed using generics. |
void |
priorityChanged(T node)
Notify the queue that the priority for
node has changed. |
boolean |
removeTyped(T node)
Same as
Collection.remove(Object) but typed using generics. |
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
boolean removeTyped(T node)
Collection.remove(Object)
but typed using generics.boolean containsTyped(T node)
Collection.contains(Object)
but typed using generics.void priorityChanged(T node)
node
has changed. The queue will adjust to ensure the priority
queue properties are maintained.node
- An object which is in this queue and the priority may have changed.Copyright © 2008–2018 The Netty Project. All rights reserved.