push method

void push(
  1. T element
)

Implementation

void push(T element) {
  _contents.add(element);
  _sorted = false;
}