/** * Updates the value. * * @param value the new value ({@code null} permitted). */ public void updateValue(Number value) { if (this.data == null) { throw new RuntimeException("updateValue: can't update null."); } setValue(this.data.getKey(), value); }
/** * Updates the value. * * @param value the new value (<code>null</code> permitted). */ public void updateValue(Number value) { if (this.data == null) { throw new RuntimeException("updateValue: can't update null."); } setValue(this.data.getKey(), value); }