setAllLocations method

void setAllLocations(
  1. int locValue
)

Implementation

void setAllLocations(int locValue) {
  for (int i = 0; i < location.length; i++) {
    location[i] = locValue;
  }
}