@Test public void testDecode__illegalArgument() { String[] illegals = {"aa", "1b"}; for (String text : illegals) { try { type.decode(text); fail(); } catch (NumberFormatException nfe) { } } }
@Override public NumberHolder decode(String text) { BigDecimal value = EngineUtil.hasText(text) ? parse(text) : null; return new NumberHolder(value); }
NumberType implements Type<NumberHolder> { @Override public NumberHolder decode(String text) { BigDecimal value = EngineUtil.hasText(text) ? parse(text) : null; return new NumberHolder(value); } }
NumberType implements Type<NumberHolder> { @Override public NumberHolder decode(String text) { BigDecimal value = EngineUtil.hasText(text) ? parse(text) : null; return new NumberHolder(value); }  }
NumberType implements Type<NumberHolder> { @Override public NumberHolder decode(String text) { BigDecimal value = EngineUtil.hasText(text) ? parse(text) : null; return new NumberHolder(value); }  @Override String encode(NumberHolder value); @Override NumberHolder decode(String text); @Override NumberHolder convert(Object obj); @Override NumberHolder[] newArray(int size); }
NumberType implements Type<NumberHolder> { @Override public NumberHolder decode(String text) { BigDecimal value = EngineUtil.hasText(text) ? parse(text) : null; return new NumberHolder(value); }  @Override String encode(NumberHolder value); @Override NumberHolder decode(String text); @Override NumberHolder convert(Object obj); @Override NumberHolder[] newArray(int size); static final String TYPE_NAME; }