/** * Returns the current value of the double-valued property with the * given name. * Returns the default-default value (<code>0.0</code>) if there * is no property with the given name, or if the current value * cannot be treated as a double. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the double-valued property */ public double getDouble(String name) { return convertToDouble(properties.getProperty(name), DOUBLE_DEFAULT_DEFAULT); }
/** * Returns the default value for the double-valued property * with the given name. * Returns the default-default value (<code>0.0</code>) if there * is no default property with the given name, or if the default * value cannot be treated as a double. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the default value of the named property */ public double getDefaultDouble(String name) { return convertToDouble(defaultProperties.getProperty(name), DOUBLE_DEFAULT_DEFAULT); }
/** * Returns the default value for the double-valued property * with the given name. * Returns the default-default value (<code>0.0</code>) if there * is no default property with the given name, or if the default * value cannot be treated as a double. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the default value of the named property */ public double getDefaultDouble(String name) { return convertToDouble(defaultProperties.getProperty(name), DOUBLE_DEFAULT_DEFAULT); }
/** * Returns the current value of the double-valued property with the * given name. * Returns the default-default value (<code>0.0</code>) if there * is no property with the given name, or if the current value * cannot be treated as a double. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the double-valued property */ public double getDouble(String name) { return convertToDouble(properties.getProperty(name), DOUBLE_DEFAULT_DEFAULT); }
/** * Returns the default value for the double-valued property * with the given name. * Returns the default-default value (<code>0.0</code>) if there * is no default property with the given name, or if the default * value cannot be treated as a double. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the default value of the named property */ public double getDefaultDouble(String name) { return convertToDouble(defaultProperties.getProperty(name), DOUBLE_DEFAULT_DEFAULT); }
/** * Returns the current value of the double-valued property with the * given name. * Returns the default-default value (<code>0.0</code>) if there * is no property with the given name, or if the current value * cannot be treated as a double. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the double-valued property */ public double getDouble(String name) { return convertToDouble(properties.getProperty(name), DOUBLE_DEFAULT_DEFAULT); }
/** * Returns the current value of the double-valued property with the * given name. * Returns the default-default value (<code>0.0</code>) if there * is no property with the given name, or if the current value * cannot be treated as a double. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the double-valued property */ public double getDouble(String name) { return convertToDouble(properties.getProperty(name), DOUBLE_DEFAULT_DEFAULT); }
/** * Returns the default value for the double-valued property * with the given name. * Returns the default-default value (<code>0.0</code>) if there * is no default property with the given name, or if the default * value cannot be treated as a double. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the default value of the named property */ public double getDefaultDouble(String name) { return convertToDouble(defaultProperties.getProperty(name), DOUBLE_DEFAULT_DEFAULT); }