示例#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));
 }
示例#2
0
 public double getLowestAsk()
 {
     return((double)_asks.FindMin().Key);
 }
示例#3
0
 public double getLowestBid()
 {
     return((double)_bids.FindMin().Key);
 }