@Test public void testConvert() throws Exception { assertTrue(converter.convert("true")); assertFalse(converter.convert("false")); }
@Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); }
BooleanValueConverter extends AbstractValueConverter<Boolean> { @Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); } }
BooleanValueConverter extends AbstractValueConverter<Boolean> { @Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); }  }
BooleanValueConverter extends AbstractValueConverter<Boolean> { @Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); }  @Override Boolean convert(String s); @Override String toString(Boolean value); }
BooleanValueConverter extends AbstractValueConverter<Boolean> { @Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); }  @Override Boolean convert(String s); @Override String toString(Boolean value); static final BooleanValueConverter INSTANCE; }