Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

.ctor

Declaring type: PriorityArrayQueue<TElement, TPriority>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: PriorityArrayQueue.rvn

Overloads / Variants

.ctor

init(capacity: int, comparer: Comparer<TPriority>) -> void

Source file: PriorityArrayQueue.rvn

Reserves capacity; a negative capacity causes a terminal Fault.

Parameters

Name Type Description
capacity Int32
comparer Comparer<TPriority>

.ctor

init(comparer: Comparer<TPriority>) -> void

Source file: PriorityArrayQueue.rvn

Creates an empty queue using the required ordering policy.

Parameters

Name Type Description
comparer Comparer<TPriority>