public class DoubleProperty<K>

  1. Object
  2. PropertyBase<Double, K>
  3. Property<Double, K>
  4. NumericProperty<Double, K>
  5. DoubleProperty
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

name String
the property name.

DoubleProperty

public DoubleProperty(String name, Double value)
Creates a double property with the given name and initial value.

Parameters

name String
the property name.
value Double
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