Property UnorderedItems
View SourceUnorderedItems
Gets a collection that enumerates the elements of the queue in an unordered manner.
Declaration
public IReadOnlyCollection<(TElement Element, TPriority Priority)> UnorderedItems { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<(TElement Element, TPriority Priority)> |
Remarks
The enumeration does not order items by priority, since that would require N * log(N) time and N space. Items are instead enumerated following the internal array heap layout.