Click or drag to resize
HeapTData Class
An implementation of the Heap data structure.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CoreHeapTData

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class Heap<TData> : ICollection<TData>, 
	IEnumerable<TData>, IEnumerable

Type Parameters

TData
The type of item stored in the HeapTData.

The HeapTData type exposes the following members.

Constructors
  NameDescription
Public methodHeapTData(OrderType)
Initializes a new instance of the HeapTData class.
Public methodHeapTData(OrderType, IComparerTData)
Initializes a new instance of the HeapTData class.
Public methodHeapTData(OrderType, ComparisonTData)
Initializes a new instance of the HeapTData class.
Public methodHeapTData(OrderType, Int32)
Initializes a new instance of the HeapTData class.
Public methodHeapTData(OrderType, Int32, IComparerTData)
Initializes a new instance of the HeapTData class.
Public methodHeapTData(OrderType, Int32, ComparisonTData)
Initializes a new instance of the HeapTData class.
Top
Methods
  NameDescription
Public methodAdd
Adds the given item to the heap.
Protected methodAddItem
Adds the given item to the heap.
Public methodClear
Clears this heap of all data.
Protected methodClearItems
Clears all the objects in this instance.
Public methodContains
Returns whether the given item is in the heap.
Public methodCopyTo
Copies the heap data to an array.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodRemoveRoot
Removes the root from the heap.
Protected methodRemoveRootItem
Removes the root item and arrange the tree in the heap.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddRangeTData(IEnumerableTData)Overloaded.
Adds the elements from the specified collection - items to the end of the target collection.
(Defined by CollectionExtensions.)
Public Extension MethodAddRangeTData(IEnumerableTData)Overloaded.
Adds the given range of items to the current collection.
(Defined by CommonExtensions.)
Public Extension MethodAppendTData(IEnumerableTData)Overloaded.
Appends elements from two sequences.
(Defined by CollectionExtensions.)
Public Extension MethodAppendTData(TData)Overloaded.
Appends an element to a sequence.
(Defined by CollectionExtensions.)
Public Extension MethodAppendTData(IEnumerableTData)Overloaded. (Defined by EnumerableExtensions.)
Public Extension MethodAppendTData(TData)Overloaded. (Defined by EnumerableExtensions.)
Public Extension MethodCastCovariantTData, TTo
Casts enumerable of TFrom to enumerable of TTo on platforms where covariance is not supported.
(Defined by ExtensionMethods.)
Public Extension MethodCloneTData
Clones the list.
(Defined by CommonExtensions.)
Public Extension MethodContainsAnyTData
Checks for the occurrence of the given items in the collection.
(Defined by CommonExtensions.)
Public Extension MethodForEachTData
Executes the action for each item in the collection.
(Defined by CommonExtensions.)
Public Extension MethodRemoveAllTData
Removes all elements from a collection that match the condition defined by the specified predicate.
(Defined by CollectionExtensions.)
Public Extension MethodTakeAfterTData
Bypasses elements from a sequence as long as a specified condition is true and then returns the remaining elements.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBeforeTData
Bypasses elements from a sequence until the specified condition becomes true.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBetweenTData(FuncTData, Boolean, FuncTData, Boolean)Overloaded.
Bypasses elements from a sequence as long as the first condition is false. Returns elements from the remaining elements as long the second condition is false.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBetweenTData(TData, TData)Overloaded.
Returns elements from a sequence as long as they are between the two items.
(Defined by CollectionExtensions.)
Public Extension MethodTakeFromTData(FuncTData, Boolean)Overloaded.
Bypasses elements from a sequence as long as a specified condition is false and then returns the element that satisfies the condition and the elements after.
(Defined by CollectionExtensions.)
Public Extension MethodTakeFromTData(TData)Overloaded.
Bypasses elements from a sequence as long as the element is not equal to the items in the sequence.
(Defined by CollectionExtensions.)
Public Extension MethodTakeToTData(FuncTData, Boolean)Overloaded.
Returns elements from a sequence as long as a specified condition is false. This method also returns the first element that satisfies the condition.
(Defined by CollectionExtensions.)
Public Extension MethodTakeToTData(TData)Overloaded.
Returns elements from a sequence as long as the sequence elements differs from the item.
(Defined by CollectionExtensions.)
Top
Properties
  NameDescription
Public propertyCount
Gets the number of items in this heap structure.
Public propertyIsEmpty
Gets a value indicating whether this instance is empty.
Public propertyIsReadOnly
Returns false; the heap is never read-only.
Public propertyRoot
Gets the root of the heap.
Public propertyType
Gets the type of heap.
Top
Remarks
See Also