Concurrent |
The ConcurrentPriorityQueueTKey, TValue type exposes the following members.
| Name | Description | |
|---|---|---|
| Enqueue | Adds the specified key to the queue. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryDequeue | Dequeues the minimum key value. An exception is thrown if the queue is empty. | |
| TryDequeueIf(FuncTKey, Boolean, TKey, TValue) | Dequeues the minimum key value. Two conditions are neccessary in order to dequeue an item: i) at least one item needs to be in the queue, and ii) the predicate given in the argument, applied to the minimum key value item, must return true. | |
| TryDequeueIf(FuncTKey, TValue, Boolean, TKey, TValue) | Dequeues the minimum key value. Two conditions are neccessary in order to dequeue an item: i) at least one item needs to be in the queue, and ii) the predicate given in the argument, applied to the minimum key value item, must return true. | |
| TryPeek | Peeks the element with the minimum key value. An exception is thrown if the queue is empty. |