/// <summary> /// Get the entry in the wrapped dictionary whose key is the /// weak 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> WeakSuccessor(K key) => sorteddict.WeakSuccessor(key);
public K WeakSuccessor(K item) { return(sorteddict.WeakSuccessor(item).Key); }
/// <summary> /// Get the entry in the wrapped dictionary whose key is the /// weak 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> WeakSuccessor(K key) { return(sorteddict.WeakSuccessor(key)); }