SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method EnsureCapacity

    EnsureCapacity(int)

    Ensures that the UpdatablePriorityQueue<TElement, TPriority> can hold up to capacity items without further expansion of its backing storage.

    Declaration
    public int EnsureCapacity(int capacity)
    Parameters
    Type Name Description
    int capacity

    The minimum capacity to be used.

    Returns
    Type Description
    int

    The current capacity of the UpdatablePriorityQueue<TElement, TPriority>.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    The specified capacity is negative.

    © SuperLinq Authors. All rights reserved.