InterfaceISearchTree<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:
public interface ISearchTree<T> : IEnumerable
Derived Classes:
Inherited Members
Properties
Maximum
Gets the maximal item in the tree.
Declaration
T Maximum { get; }
Property Value
T
The maximum item in the tree.
Minimum
Gets the smallest item in the tree.
Declaration
T Minimum { get; }
Property Value
T
The smallest item in the tree.
Exceptions
The ISearchTree<T> is empty.
Methods
DepthFirstTraversal(IVisitor<T>)
Performs a depth first traversal on the search tree.
Declaration
void DepthFirstTraversal(IVisitor<T> visitor)
Parameters
visitor
IVisitor<T>
The visitor to use.
Exceptions
visitor is a null reference (Nothing in Visual Basic).
GetOrderedEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
IEnumerator<T> GetOrderedEnumerator()
Returns
IEnumerator<T>
A IEnumerator<T> that can be used to iterate through the collection.