return java.lang.reflect.Array.getDouble(data.get(1), index); } catch (Exception e) {  throw new NoDataException(); } }  for (int i = 0; i < numOfAxis-2; i++) { Axis axis = (Axis) axisList.get(i); int index =  locator.getAxisLocation(axis); current = (List) current.get(index); if (current == null) { throw new NoDataException(); } }  int index0 = locator.getAxisLocation((Axis) axisList.get(numOfAxis-2)); int index1 = locator.getAxisLocation((Axis) axisList.get(numOfAxis-1)); try { if (java.lang.reflect.Array.getByte(current.get(2*index0), index1) !=1) throw new NoDataException();  return  java.lang.reflect.Array.getDouble(current.get(2*index0+1), index1);
return java.lang.reflect.Array.getDouble(data.get(1), index);
  public double getDoubleData(Locator locator) throws NoDataException{    List axisList = parentArray.getAxisList();    List current = data;    int numOfAxis = axisList.size();    if (numOfAxis == 1) {      int index = locator.getAxisLocation((Axis) axisList.get(0));      try {       if (java.lang.reflect.Array.getByte(data.get(0), index) !=1)        throw new NoDataException();        return java.lang.reflect.Array.getDouble(data.get(1), index);     }      catch (Exception e) {  //the location we try to access is not allocated,                             //i.e., no data in the cell        throw new NoDataException();      }    }    for (int i = 0; i < numOfAxis-2; i++) {      Axis axis = (Axis) axisList.get(i);      int index =  locator.getAxisLocation(axis);      current = (List) current.get(index);      if (current == null) {  //the location we try to access is not allocated, no data         throw new NoDataException();      }    }    int index0 = locator.getAxisLocation((Axis) axisList.get(numOfAxis-2));    int index1 = locator.getAxisLocation((Axis) axisList.get(numOfAxis-1));    try {      if (java.lang.reflect.Array.getByte(current.get(2*index0), index1) !=1)        throw new NoDataException();  //the location we try to access contains noDataValue      return  java.lang.reflect.Array.getDouble(current.get(2*index0+1), index1);    }    catch (Exception e) {  //the location we try to access is not allocated,                           //i.e., no data in the cell      throw new NoDataException();    }  }