public void calculateExclusiveMin(double min){
  if (exclusiveMin == -1) {
    exclusiveMin=min;
  }
 else {
    exclusiveMin=Math.min(exclusiveMin,min);
  }
}

public void calculateExclusiveMin ( double min ) { if ( exclusiveMin == - 1 ) { exclusiveMin = min ; } else { exclusiveMin = Math . min ( exclusiveMin , min ) ; } }
sets the minimum and deals with the - 1 initialization ! .
