toUnorderedList abstract method

List<E> toUnorderedList()

Returns a list of the elements of this queue in no specific order.

The queue is not modified.

The order of the elements is implementation specific. The order may differ between different calls on the same queue.

Implementation

List<E> toUnorderedList();