/** * Returns the default value for the long-valued property * with the given name. * Returns the default-default value (<code>0L</code>) if there * is no default property with the given name, or if the default * value cannot be treated as a long. * 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 long getDefaultLong(String name) { return convertToLong(defaultProperties.getProperty(name), LONG_DEFAULT_DEFAULT); }
/** * Returns the current value of the long-valued property with the * given name. * Returns the default-default value (<code>0L</code>) if there * is no property with the given name, or if the current value * cannot be treated as a long. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the long-valued property */ public long getLong(String name) { return convertToLong(properties.getProperty(name), LONG_DEFAULT_DEFAULT); }
/** * Returns the default value for the long-valued property * with the given name. * Returns the default-default value (<code>0L</code>) if there * is no default property with the given name, or if the default * value cannot be treated as a long. * 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 long getDefaultLong(String name) { return convertToLong(defaultProperties.getProperty(name), LONG_DEFAULT_DEFAULT); }
/** * Returns the current value of the long-valued property with the * given name. * Returns the default-default value (<code>0L</code>) if there * is no property with the given name, or if the current value * cannot be treated as a long. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the long-valued property */ public long getLong(String name) { return convertToLong(properties.getProperty(name), LONG_DEFAULT_DEFAULT); }
/** * Returns the current value of the long-valued property with the * given name. * Returns the default-default value (<code>0L</code>) if there * is no property with the given name, or if the current value * cannot be treated as a long. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the long-valued property */ public long getLong(String name) { return convertToLong(properties.getProperty(name), LONG_DEFAULT_DEFAULT); }
/** * Returns the default value for the long-valued property * with the given name. * Returns the default-default value (<code>0L</code>) if there * is no default property with the given name, or if the default * value cannot be treated as a long. * 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 long getDefaultLong(String name) { return convertToLong(defaultProperties.getProperty(name), LONG_DEFAULT_DEFAULT); }
/** * Returns the default value for the long-valued property * with the given name. * Returns the default-default value (<code>0L</code>) if there * is no default property with the given name, or if the default * value cannot be treated as a long. * 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 long getDefaultLong(String name) { return convertToLong(defaultProperties.getProperty(name), LONG_DEFAULT_DEFAULT); }
/** * Returns the current value of the long-valued property with the * given name. * Returns the default-default value (<code>0L</code>) if there * is no property with the given name, or if the current value * cannot be treated as a long. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the long-valued property */ public long getLong(String name) { return convertToLong(properties.getProperty(name), LONG_DEFAULT_DEFAULT); }