@Test public void testToModelValue() { Integer modelValue = converter.toModelValue(DOUBLE_VALUE); assertEquals(INTEGER_VALUE, modelValue); }
@Override public Integer toModelValue(Double widgetValue) { return widgetValue != null ? widgetValue.intValue() : null; }
IntegerToDoubleConverter implements Converter<Integer, Double> { @Override public Integer toModelValue(Double widgetValue) { return widgetValue != null ? widgetValue.intValue() : null; } }
IntegerToDoubleConverter implements Converter<Integer, Double> { @Override public Integer toModelValue(Double widgetValue) { return widgetValue != null ? widgetValue.intValue() : null; }  }
IntegerToDoubleConverter implements Converter<Integer, Double> { @Override public Integer toModelValue(Double widgetValue) { return widgetValue != null ? widgetValue.intValue() : null; }  @Override Class<Integer> getModelType(); @Override Class<Double> getComponentType(); @Override Integer toModelValue(Double widgetValue); @Override Double toWidgetValue(Integer modelValue); }
IntegerToDoubleConverter implements Converter<Integer, Double> { @Override public Integer toModelValue(Double widgetValue) { return widgetValue != null ? widgetValue.intValue() : null; }  @Override Class<Integer> getModelType(); @Override Class<Double> getComponentType(); @Override Integer toModelValue(Double widgetValue); @Override Double toWidgetValue(Integer modelValue);  }