dequeue

open override fun dequeue(): T

Removes and returns an entity from the queue according to the policy.

Return

the next entity to remove