if (dimension == 0) { Log.error(" in DataCube, incrementDimentsion, the dimension is 0"); return 0; } else return dimension--;
Log.errorln("in DataCube, decrementDimension(), methods empty, returning -1"); return -1;
public int decrementDimension() {  if (dimension == 0) {    Log.error(" in DataCube, incrementDimentsion, the dimension is 0");    return 0;  }  else   return dimension--;}