Beef Corlib
Public Member Functions | Protected Attributes | Properties | List of all members
System.Collections.BinaryHeap< T > Class Template Reference

Public Member Functions

 BinaryHeap (Comparison< T > comparison)
 
 BinaryHeap (int32 capacity, Comparison< T > comparison)
 
void Add (T item)
 Add an item to the heap.
 
Peek ()
 Get the item of the root.
 
Pop ()
 Extract the item of the root.
 
void Clear ()
 

Protected Attributes

T[] mData ~ delete _
 
int32 mSize = 0
 
Comparison< T > mComparison ~ delete _
 

Properties

int32 Size [get]