Exemple #1
0
 /// <summary>
 ///		Get item with minimum key
 /// </summary>
 /// <returns>
 ///		Contained item with minimum key or <see langword="null"/> if the collection is empty
 /// </returns>
 public V GetMin()
 {
     if (this.Count > 0)
     {
         return(_dictionary.FindMin().Value);
     }
     return(default(V));
 }
Exemple #2
0
 public double getLowestAsk()
 {
     return((double)_asks.FindMin().Key);
 }
Exemple #3
0
 public double getLowestBid()
 {
     return((double)_bids.FindMin().Key);
 }