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