/// <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);
Exemplo n.º 2
0
 public K Successor(K item)
 {
     return(sorteddict.Successor(item).Key);
 }
Exemplo n.º 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));
 }