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