peek property

E peek

Returns the last/largest value from this heap.

Implementation

E get peek {
  _checkNotEmpty();
  return _values[0];
}