@Test() public void testGetString() { assertEquals("21474836470999", h1.getString()); assertEquals("0.01234567890123456789012345678901234567890123456789", h2.getString()); assertNull(h3.getString()); }
@Override public String getString() { return value != null ? value.toPlainString() : null; }
NumberHolder extends AbstractValueHolder { @Override public String getString() { return value != null ? value.toPlainString() : null; } }
NumberHolder extends AbstractValueHolder { @Override public String getString() { return value != null ? value.toPlainString() : null; } NumberHolder(BigDecimal value); }
NumberHolder extends AbstractValueHolder { @Override public String getString() { return value != null ? value.toPlainString() : null; } NumberHolder(BigDecimal value); @Override BigDecimal getValue(); @Override BigDecimal getBigDecimal(); @Override int intValue(); @Override long longValue(); @Override double doubleValue(); @Override Double getDouble(); @Override Integer getInteger(); @Override Long getLong(); @Override String getString(); }
NumberHolder extends AbstractValueHolder { @Override public String getString() { return value != null ? value.toPlainString() : null; } NumberHolder(BigDecimal value); @Override BigDecimal getValue(); @Override BigDecimal getBigDecimal(); @Override int intValue(); @Override long longValue(); @Override double doubleValue(); @Override Double getDouble(); @Override Integer getInteger(); @Override Long getLong(); @Override String getString();  }