Beef Corlib
|
Public Member Functions | |
BinaryHeap (Comparison< T > comparison) | |
BinaryHeap (int32 capacity, Comparison< T > comparison) | |
void | Add (T item) |
Add an item to the heap. | |
T | Peek () |
Get the item of the root. | |
T | 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] |