operator [] method

int operator [](
  1. int index
)

Implementation

int operator [](int index) {
  return elementAt(index);
}