SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method Enqueue

    Enqueue(TElement, TPriority)

    Adds or updates the specified element with associated priority to the UpdatablePriorityQueue<TElement, TPriority>.

    Declaration
    public void Enqueue(TElement element, TPriority priority)
    Parameters
    Type Name Description
    TElement element

    The element to add to the UpdatablePriorityQueue<TElement, TPriority>.

    TPriority priority

    The priority with which to associate the new element.

    Remarks

    If an elements already exists in this queue, the priority for that element is unconditionally updated to the new value.

    © SuperLinq Authors. All rights reserved.