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 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.