Skip to content

Methods_T_PurpleKingdomGames_Core_Collections_BinaryHeap_1

David North edited this page Jul 31, 2015 · 2 revisions

BinaryHeap(T) Methods

The BinaryHeap(T) generic type exposes the following members.

Methods

 

Name Description
Public method Add Add a single item to the heap
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index of the specified item in the heap
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Get the lowest value from the top of the heap
Public method Sort Resort the heap from the specified index. Used when an items value changes
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

BinaryHeap(T) Class
PurpleKingdomGames.Core.Collections Namespace

Clone this wiki locally