Heap
|
Overloaded. Initializes a new instance of the Heap class. |
Count
|
Returns number of elements in the heap. |
CurrentCapacity
|
Returns the number of elements that this heap can store without the need to grow. |
IsEmpty
|
Checks if the heap is empty. |
Equals (inherited from Object) |
|
ExtractFirst
|
Returns the first (with maximal priority) element from the heap, removing it. Throws EmptyHeap exception. |
Fold
|
Folds this heap's elements using the specified function and an initial value. |
GetHashCode (inherited from Object) |
|
GetType (inherited from Object) |
|
Insert
|
Inserts a new element into the heap. |
Iter
|
Calls the specified function for all elements of this heap. |
Map
|
Creates new heap of elements of type 'b. New heap is totally independent, i.e. any changes in original heap do not influence the second one and vice versa. |
Top
|
Returns the first (with maximal priority) element from the heap without removing it. Throws EmptyHeap exception. |
ToString (inherited from Object) |
Finalize (inherited from Object) |
|
MemberwiseClone (inherited from Object) |
Heap Class | Nemerle.Collections Namespace