break; case QuantumFactory.LOGARITHMIC: valueMapper = new LogarithmicMap(); break; case QuantumFactory.EXPONENTIAL: valueMapper = new ExponentialMap(); break; default:  }
else if (value.equals(QuantumFactory.LOGARITHMIC)) valueMapper = new LogarithmicMap(); else if (value.equals(QuantumFactory.EXPONENTIAL)) valueMapper = new ExponentialMap();
    private void defineMapper(int family)    {        verifyFamily(family);        switch (family) {            case QuantumFactory.LINEAR:            case QuantumFactory.POLYNOMIAL:                valueMapper = new PolynomialMap();                break;            case QuantumFactory.LOGARITHMIC:                valueMapper = new LogarithmicMap();                break;            case QuantumFactory.EXPONENTIAL:                valueMapper = new ExponentialMap();                 break;            default:                 // never reached: verify throws exception.        }     }