@Test public void returnsMapperFromDoubleToFloat() { assertThat(fromDoubleToFloat().map(1234D), is(1234F)); }
public static Mapper<Double, Float> fromDoubleToFloat() { return new Mapper<Double, Float>() { @Override public Float map(Double input) { return input.floatValue(); } }; }
Floats { public static Mapper<Double, Float> fromDoubleToFloat() { return new Mapper<Double, Float>() { @Override public Float map(Double input) { return input.floatValue(); } }; } }
Floats { public static Mapper<Double, Float> fromDoubleToFloat() { return new Mapper<Double, Float>() { @Override public Float map(Double input) { return input.floatValue(); } }; }  }
Floats { public static Mapper<Double, Float> fromDoubleToFloat() { return new Mapper<Double, Float>() { @Override public Float map(Double input) { return input.floatValue(); } }; }  static Mapper<String, Float> fromStringToFloat(); static Mapper<Integer, Float> fromIntegerToFloat(); static Mapper<Long, Float> fromLongToFloat(); static Mapper<BigInteger, Float> fromBigIntegerToFloat(); static Mapper<Double, Float> fromDoubleToFloat(); static Mapper<BigDecimal, Float> fromBigDecimalToFloat(); }
Floats { public static Mapper<Double, Float> fromDoubleToFloat() { return new Mapper<Double, Float>() { @Override public Float map(Double input) { return input.floatValue(); } }; }  static Mapper<String, Float> fromStringToFloat(); static Mapper<Integer, Float> fromIntegerToFloat(); static Mapper<Long, Float> fromLongToFloat(); static Mapper<BigInteger, Float> fromBigIntegerToFloat(); static Mapper<Double, Float> fromDoubleToFloat(); static Mapper<BigDecimal, Float> fromBigDecimalToFloat();  }