pushFront method

void pushFront(
  1. T element
)

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

Implementation

void pushFront(T element) => insertFront(element);