add method

void add(
  1. T item
)

Add item to queue

Implementation

void add(T item) {
  _heap.add(item);
}