@Test public void testConvert() throws Exception { assertEquals(Integer.valueOf(Integer.MAX_VALUE), converter.convert(Integer.toString(Integer.MAX_VALUE))); }
@Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } }
IntegerValueConverter extends AbstractValueConverter<Integer> { @Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } } }
IntegerValueConverter extends AbstractValueConverter<Integer> { @Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } }  }
IntegerValueConverter extends AbstractValueConverter<Integer> { @Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } }  @Override Integer convert(String s); @Override String toString(Integer value); }
IntegerValueConverter extends AbstractValueConverter<Integer> { @Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } }  @Override Integer convert(String s); @Override String toString(Integer value); static final IntegerValueConverter INSTANCE; }