unorderedElements property

  1. @override
Iterable<E> unorderedElements

Provides efficient access to all the elements currently in the queue.

The operation is performed in the order they occur in the underlying heap structure.

The order is stable as long as the queue is not modified. The queue must not be modified during an iteration.


Iterable<E> get unorderedElements => _UnorderedElementsIterable<E>(this);