예제 #1
0
 /// <summary>
 ///		Get item with maximum key
 /// </summary>
 /// <returns>
 ///		Contained item with maximum key or <see langword="null"/> if the collection is empty
 /// </returns>
 public V GetMax()
 {
     if (this.Count > 0)
     {
         return(_dictionary.FindMax().Value);
     }
     return(default(V));
 }
예제 #2
0
 public double getHighestAsk()
 {
     return((double)_asks.FindMax().Key);
 }
예제 #3
0
 public double getHighestBid()
 {
     return((double)_bids.FindMax().Key);
 }