getAt method

T getAt(
  1. int at
)

Get an element at the given position

Implementation

T getAt(int at) {
  return buffer[at];
}