Interface
ISearchTree<T>

Describes data structures used for searching.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Type Parameters:

T

The data type.

Syntax:

cs-api-definition
public interface ISearchTree<T> : IEnumerable

Derived Classes: BinarySearchTreeBase<T>RedBlackTree<T>RedBlackTree<TKey, TValue>

Inherited Members IEnumerable.GetEnumerator()

Properties

Maximum

Gets the maximal item in the tree.

Declaration

cs-api-definition
T Maximum { get; }

Property Value

T

The maximum item in the tree.

Minimum

Gets the smallest item in the tree.

Declaration

cs-api-definition
T Minimum { get; }

Property Value

T

The smallest item in the tree.

Exceptions

InvalidOperationException

The ISearchTree<T> is empty.

Methods

DepthFirstTraversal(IVisitor<T>)

Performs a depth first traversal on the search tree.

Declaration

cs-api-definition
void DepthFirstTraversal(IVisitor<T> visitor)

Parameters

visitor

IVisitor<T>

The visitor to use.

Exceptions

ArgumentNullException

visitor is a null reference (Nothing in Visual Basic).

GetOrderedEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
IEnumerator<T> GetOrderedEnumerator()

Returns

IEnumerator<T>

A IEnumerator<T> that can be used to iterate through the collection.