Пример #1
0
 public void RemovePoints(SortedSet <KeyValueHolder <double, int> > rlist)
 {
     for (int i = _pointsList.Count - 1; i > -1; i--)
     {
         var test = new KeyValueHolder <double, int>(_pointsList[i].GetRoundTime());
         if (rlist.Contains(test))
         {
             _pointsList.RemoveAt(i);
         }
     }
 }
Пример #2
0
 public int CompareTo(KeyValueHolder <TKey, TValue> other)
 {
     return(this.Key.CompareTo(other.Key));
 }