public static QuantityType<?> operator_multiply(QuantityType<?> x, QuantityType<?> y) { return x == null || y == null ? QuantityType.ZERO : x.multiply(y); }
public static QuantityType<?> operator_multiply(Number x, QuantityType<?> y) { BigDecimal xValue = numberToBigDecimal(x); if (xValue == null) { return QuantityType.ZERO; } else if (y == null) { return QuantityType.ZERO; } else { return y.multiply(xValue); } }