back method

T back()

Returns the back element without removing it (C++ STL naming).

Implementation

T back() => getRear();