operator []= method

void operator []=(
  1. int index,
  2. int value
)

Implementation

void operator []=(int index, int value) {
  innerList[index] = value;
}