setLocationWithIndex method

void setLocationWithIndex(
  1. int locIndex,
  2. int locValue
)

Implementation

void setLocationWithIndex(int locIndex, int locValue) {
  location[locIndex] = locValue;
}