code: public DoubleParameter setMaximumValue(double maximumValue, boolean inclusive) {
  		if (hasDefaultValue) {
  			if (inclusive) {
  				Util.checkParameter(maximumValue >= defaultValue,
  					"Maximum value (" + maximumValue + ") must be greater than or equal to default (" + defaultValue + ")");
  			} else {
  				Util.checkParameter(maximumValue > defaultValue,
  					"Maximum value (" + maximumValue + ") must be greater than default (" + defaultValue + ")");
  			}
  		} else if (hasMinimumValue) {
  			if (inclusive && minimumValueInclusive) {
  				Util.checkParameter(maximumValue >= minimumValue,
  					"Maximum value (" + maximumValue + ") must be greater than or equal to minimum (" + minimumValue + ")");
  			} else {
  				Util.checkParameter(maximumValue > minimumValue,
  					"Maximum value (" + maximumValue + ") must be greater than minimum (" + minimumValue + ")");
  			}
  		}
  
  		this.hasMaximumValue = true;
  		this.maximumValue = maximumValue;
  		this.maximumValueInclusive = inclusive;
  
  		return this;
  	}
docs: Set the maximum value. The maximum value is an acceptable value if and
  only if inclusive is set to true.
  
  @param maximumValue the maximum value
  @param inclusive whether the maximum value is a valid value
  @return this