PriorityQueueTEnqueue Method |
Add a new element to the queue, with the given priority
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic PriorityQueueTNode Enqueue(
T key
)
Public Function Enqueue (
key As T
) As PriorityQueueTNode
public:
PriorityQueueTNode^ Enqueue(
T key
)
Parameters
- key
- Type: T
[Missing <param name="key"/> documentation for "M:DHI.Mike1D.Generic.PriorityQueue`1.Enqueue(`0)"]
Return Value
Type:
PriorityQueueTNode
A
PriorityQueueTNode. This can be used
for updating the key.
See Also