public RandomWaitQueue(TRandom random) { _items = OrderedCollection.New <WaitQueue.Pair <T, int> >(true); _random = random; }
public PriorityWaitQueue() { _items = OrderedCollection.New <WaitQueue.Pair <T, double> >(true); }