net.sf.farrago.type.runtime
Class NullablePrimitive.NullableFloat
java.lang.Object
net.sf.farrago.type.runtime.NullablePrimitive
net.sf.farrago.type.runtime.NullablePrimitive.NullableFloat
- All Implemented Interfaces:
- AssignableValue, DataValue, NullableValue
- Enclosing class:
- NullablePrimitive
public static final class NullablePrimitive.NullableFloat
- extends NullablePrimitive
Nullable wrapper for float.
Field Summary |
float |
value
Wrapped primitive |
Method Summary |
protected void |
setLong(long n)
Assignment from non-null long value. |
protected void |
setNumber(Number number)
Assignment from abstract Number object. |
value
public float value
- Wrapped primitive
NullablePrimitive.NullableFloat
public NullablePrimitive.NullableFloat()
setNumber
protected void setNumber(Number number)
- Description copied from class:
NullablePrimitive
- Assignment from abstract Number object.
- Specified by:
setNumber
in class NullablePrimitive
- Parameters:
number
- a new non-null value to be assigned
setLong
protected void setLong(long n)
- Description copied from class:
NullablePrimitive
- Assignment from non-null long value.
- Specified by:
setLong
in class NullablePrimitive
- Parameters:
n
- long value to assign