int stop = locators.size(); for (int i = 0; i < stop; i++) { ((Locator) locators.get(i)).addAxis(axis); }  updateNotesLocationOrder();
   public Axis addAxis(Axis axis) {     if (!canAddAxisObjToArray(axis)) //check if the axis can be added        return null;     getDataCube().incrementDimension(axis );  //increment the DataCube dimension by 1     getAxisList().add(axis);     //update the locators that is related to this Array object     int stop = locators.size();     for (int i = 0; i < stop; i++) {       ((Locator) locators.get(i)).addAxis(axis);     }     updateNotesLocationOrder(); // reset to the current order of the axes     return axis;  }