PriorityQueue<TElement,TPriority>.UnorderedItems Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection that enumerates the elements of the queue in an unordered manner.
public:
property System::Collections::Generic::PriorityQueue<TElement, TPriority>::UnorderedItemsCollection ^ UnorderedItems { System::Collections::Generic::PriorityQueue<TElement, TPriority>::UnorderedItemsCollection ^ get(); };
public System.Collections.Generic.PriorityQueue<TElement,TPriority>.UnorderedItemsCollection UnorderedItems { get; }
member this.UnorderedItems : System.Collections.Generic.PriorityQueue<'Element, 'Priority>.UnorderedItemsCollection
Public ReadOnly Property UnorderedItems As PriorityQueue(Of TElement, TPriority).UnorderedItemsCollection
Property Value
Remarks
The enumeration does not order items by priority, since that would require N * log(N) time and N space. Instead, items are enumerated following the internal array heap layout.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.