net.sf.farrago.type.runtime
Class NullablePrimitive.NullableDouble
java.lang.Object
net.sf.farrago.type.runtime.NullablePrimitive
net.sf.farrago.type.runtime.NullablePrimitive.NullableDouble
- All Implemented Interfaces:
- AssignableValue, DataValue, NullableValue
- Enclosing class:
- NullablePrimitive
public static final class NullablePrimitive.NullableDouble
- extends NullablePrimitive
Nullable wrapper for double.
Field Summary |
double |
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 double value
- Wrapped primitive
NullablePrimitive.NullableDouble
public NullablePrimitive.NullableDouble()
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