final class GrossPriceStrategyImpl extends java.lang.Object implements GrossPriceStrategy
Modifier and Type | Field and Description |
---|---|
private static double |
HUNDRED_PER_CENT |
Constructor and Description |
---|
GrossPriceStrategyImpl() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(double rate,
double netPrice) |
private static final double HUNDRED_PER_CENT
public double calculate(double rate, double netPrice)
calculate
in interface GrossPriceStrategy