public interface WritableFloatValue extends WritableNumberValue
WritableValue
,
WritableNumberValue
Modifier and Type | Method and Description |
---|---|
float |
get()
Get the wrapped value.
|
void |
set(float value)
Set the wrapped value.
|
void |
setValue(Number value)
Set the wrapped value.
|
getValue
float get()
WritableValue.getValue()
,
this method returns primitive float.
Needs to be identical to WritableValue.getValue()
.void set(float value)
setValue(java.lang.Number)
,
this method uses primitive float.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 valueCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.