Heap<T extends Comparable> class
abstract
Base abstract heap class defining the contract. SOLID Principle: Interface Segregation + Dependency Inversion
Constructors
- Heap()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
peek(
) → T? -
pop(
) → T? -
printHeap(
) → String -
push(
T value) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited