@Test public void returnsMapperFromBigDecimalToDouble() { assertThat(fromBigDecimalToDouble().map(new BigDecimal("1234.56")), is(closeTo(1234.56D, 0.001))); }
public static Mapper<BigDecimal, Double> fromBigDecimalToDouble() { return new Mapper<BigDecimal, Double>() { @Override public Double map(BigDecimal input) { return input.doubleValue(); } }; }
Doubles { public static Mapper<BigDecimal, Double> fromBigDecimalToDouble() { return new Mapper<BigDecimal, Double>() { @Override public Double map(BigDecimal input) { return input.doubleValue(); } }; } }
Doubles { public static Mapper<BigDecimal, Double> fromBigDecimalToDouble() { return new Mapper<BigDecimal, Double>() { @Override public Double map(BigDecimal input) { return input.doubleValue(); } }; }  }
Doubles { public static Mapper<BigDecimal, Double> fromBigDecimalToDouble() { return new Mapper<BigDecimal, Double>() { @Override public Double map(BigDecimal input) { return input.doubleValue(); } }; }  static Mapper<String, Double> fromStringToDouble(); static Mapper<Integer, Double> fromIntegerToDouble(); static Mapper<Long, Double> fromLongToDouble(); static Mapper<BigInteger, Double> fromBigIntegerToDouble(); static Mapper<Float, Double> fromFloatToDouble(); static Mapper<BigDecimal, Double> fromBigDecimalToDouble(); }
Doubles { public static Mapper<BigDecimal, Double> fromBigDecimalToDouble() { return new Mapper<BigDecimal, Double>() { @Override public Double map(BigDecimal input) { return input.doubleValue(); } }; }  static Mapper<String, Double> fromStringToDouble(); static Mapper<Integer, Double> fromIntegerToDouble(); static Mapper<Long, Double> fromLongToDouble(); static Mapper<BigInteger, Double> fromBigIntegerToDouble(); static Mapper<Float, Double> fromFloatToDouble(); static Mapper<BigDecimal, Double> fromBigDecimalToDouble();  }