Interface ISearchTree<T>
Describes data structures used for searching.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public interface ISearchTree<T> : ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
T
The data type. |
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
System.InvalidOperationException
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
IVisitor<T>
visitor
The visitor to use. |
Exceptions
System.ArgumentNullException
|
GetOrderedEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
IEnumerator<T> GetOrderedEnumerator()
Returns
System.Collections.Generic.IEnumerator<T>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |