public interface WritableDoubleValue extends WritableNumberValue
WritableValue
,
WritableNumberValue
Modifier and Type | Method and Description |
---|---|
double |
get()
Get the wrapped value.
|
void |
set(double value)
Set the wrapped value.
|
void |
setValue(Number value)
Set the wrapped value.
|
getValue
double get()
WritableValue.getValue()
,
this method returns primitive double.
Needs to be identical to WritableValue.getValue()
.void set(double value)
setValue(java.lang.Number)
,
this method uses primitive double.value
- The new valuevoid setValue(Number value)
Note: this method should accept null without throwing an exception, setting "0.0" instead.
setValue
in interface WritableValue<Number>
value
- The new valueSubmit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.