Beispiel #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));
 }
Beispiel #2
0
 public double getHighestAsk()
 {
     return((double)_asks.FindMax().Key);
 }
Beispiel #3
0
 public double getHighestBid()
 {
     return((double)_bids.FindMax().Key);
 }