InterfaceISearchTree<T>
Interface
Describes data structures used for searching.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Type Parameters:
T
The data type.
Syntax:
cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
public interface ISearchTree<T> : ICollection<T>, IEnumerable<T>, IEnumerable
Inherited Members
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
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
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.