Class DoubleProperty<K>


public class DoubleProperty<K> extends NumericProperty<Double,K>
This is the double specific version of numeric property
  • Constructor Details

    • DoubleProperty

      public DoubleProperty(String name)

      Creates a double property with the given name.

      Parameters
      • name: the property name.
    • DoubleProperty

      public DoubleProperty(String name, Double value)

      Creates a double property with the given name and initial value.

      Parameters
      • name: the property name.

      • value: 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