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