public class DoubleProperty<K>
This is the double specific version of numeric property
Constructors
public DoubleProperty(String name) | Creates a double property with the given name. |
public DoubleProperty(String name, Double value) | Creates a double property with the given name and initial value. |
Methods
public double getDouble() | Returns the value as a primitive, if the value is null/nullable this will fail… |
Inherited methods
Constructor details
DoubleProperty
public DoubleProperty(String name)Creates a double property with the given name.
Parameters
nameString- the property name.
DoubleProperty
public DoubleProperty(String name, Double value)Creates a double property with the given name and initial value.
Parameters
nameString- the property name.
valueDouble- the initial property value.
Method details
getDouble
public double getDouble()Returns the value as a primitive, if the value is null/nullable this will fail…
Returns
the numeric value