コード例 #1
0
            public bool Cut(IComparable <K> c, out K low, out bool lowIsValid, out K high, out bool highIsValid)
            {
                bool retval = sorteddict.Cut(c, out SCG.KeyValuePair <K, V> lowpair, out lowIsValid, out SCG.KeyValuePair <K, V> highpair, out highIsValid);

                low  = lowpair.Key;
                high = highpair.Key;
                return(retval);
            }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="c"></param>
 /// <param name="lowEntry"></param>
 /// <param name="lowIsValid"></param>
 /// <param name="highEntry"></param>
 /// <param name="highIsValid"></param>
 /// <returns></returns>
 public bool Cut(IComparable <K> c, out SCG.KeyValuePair <K, V> lowEntry, out bool lowIsValid, out SCG.KeyValuePair <K, V> highEntry, out bool highIsValid)
 {
     return(sorteddict.Cut(c, out lowEntry, out lowIsValid, out highEntry, out highIsValid));;
 }