/// <summary>
 /// Get the entry in the wrapped dictionary whose key is the
 /// successor 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> Successor(K key) => sorteddict.Successor(key);
Example #2
0
 public K Successor(K item)
 {
     return(sorteddict.Successor(item).Key);
 }
Example #3
0
 /// <summary>
 /// Get the entry in the wrapped dictionary whose key is the
 /// successor 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> Successor(K key)
 {
     return(sorteddict.Successor(key));
 }