/// <summary>
 /// Get the entry in the wrapped dictionary whose key is the
 /// weak predecessor of a specified key.
 /// </summary>
 /// <exception cref="NoSuchItemException"> if no such entry exists </exception>
 /// <param name="key">The key</param>
 /// <returns>The entry</returns>
 public SCG.KeyValuePair <K, V> WeakPredecessor(K key) => sorteddict.WeakPredecessor(key);
Esempio n. 2
0
 public K WeakPredecessor(K item)
 {
     return(sorteddict.WeakPredecessor(item).Key);
 }
Esempio n. 3
0
 /// <summary>
 /// Get the entry in the wrapped dictionary whose key is the
 /// weak predecessor of a specified key.
 /// </summary>
 /// <exception cref="NoSuchItemException"> if no such entry exists </exception>
 /// <param name="key">The key</param>
 /// <returns>The entry</returns>
 public KeyValuePair <K, V> WeakPredecessor(K key)
 {
     return(sorteddict.WeakPredecessor(key));
 }