コード例 #1
0
 /// <summary>
 /// Gets the lower and upper bounds of this tree.
 /// </summary>
 /// <param name="firstKey">The first key in the tree</param>
 /// <param name="lastKey">The final key in the tree</param>
 /// <remarks>
 /// If the tree contains no data. <see cref="firstKey"/> is set to it's maximum value
 /// and <see cref="lastKey"/> is set to it's minimum value.
 /// </remarks>
 public override void GetKeyRange(TKey firstKey, TKey lastKey)
 {
     if (m_disposed)
     {
         throw new ObjectDisposedException(GetType().FullName);
     }
     m_tree.GetKeyRange(firstKey, lastKey);
 }
コード例 #2
0
 /// <summary>
 /// Returns the lower and upper bounds of the tree
 /// </summary>
 /// <param name="lowerBounds">the first key in the tree</param>
 /// <param name="upperBounds">the last key in the tree</param>
 /// <remarks>
 /// If the tree is empty, lowerBounds will be greater than upperBounds</remarks>
 public void GetKeyRange(TKey lowerBounds, TKey upperBounds)
 {
     m_tree.GetKeyRange(lowerBounds, upperBounds);
 }