pushBack method

void pushBack(
  1. T element
)

Adds an element to the back (C++ STL naming).

Implementation

void pushBack(T element) => insertLast(element);