/*
(non-Javadoc)
@see org.springframework.data.solr.core.query.result.StatsResult#getMaxAsDouble()
978612
@Nullable
	@Override
	public Double getMaxAsDouble() {

		if (max instanceof Number) {
			return ((Number) max).doubleValue();
		}
		return null;
	}
1144883
public Double getMax() {
        String v = input.getElement().getAttribute("max");
        if (v == null || v.isEmpty()) return null;
        return Double.valueOf(v);
    }
91824
public double getDoubleUseEval(String key) {
        String string = getStringUseEval(key);
        return Checker.isNull(string) ? null : Formatter.stringToDouble(string);
    }
170175
public Double getDouble(String key, String group) {
		return getDouble(key, group, null);
	}
333201
public static double getDouble(JsonObject object, String field) {
        final JsonValue value = object.get(field);
        throwExceptionIfNull(value, field);
        return value.asDouble();
    }
677701
public double getDouble(String key) throws LazyException{
		LazyNode token=getFieldToken(key);
		return token.getDoubleValue();
	}
1155202
public double getDouble(String name, double defaultValue) {
        try {
            String value = getString(name, null);
            if (!StringUtils.isNullOrEmpty(value)) {
                return Double.parseDouble(value.trim());
            }
        } catch (NumberFormatException e) {
            log.warn("Failed to parse double for " + name + USING_DEFAULT_OF
                + defaultValue);
        }

        return defaultValue;
    }
923539
public double getDouble(String key, double defaultValue) {
    String value = get(key);
    return value == null ? defaultValue : Double.parseDouble(value);
  }
1333621
@Override
    public Double getDouble(final String key) {
        return retrieve(new Callable<Double>() {
            @Override
            public Double call() throws Exception {
                return configuration.getDouble(key);
            }
        }, null);
    }
824397
public double getDouble( String key, double defaultValue )
        throws MissingResourceException
    {
        try
        {
            return getDouble( key );
        }
        catch( MissingResourceException mre )
        {
            return defaultValue;
        }
    }
613642
@Override
    public double max(TimeUnit unit) {
        return TimeUtils.convert(max.poll(), TimeUnit.MILLISECONDS, unit);
    }
829200
@Override
	public Double getPropertyDouble(Class<?> aClass, String key,
			double defaultValue)
	{
		return getPropertyDouble(new StringBuilder(aClass.getName()).append(".")
				.append(key).toString(), defaultValue);
	}
102392
public double getDouble(String key, double def) {
        Object tmp = objectMap.get(key);
        return tmp != null && tmp instanceof Number ? ((Number) tmp)
                .doubleValue() : def;
    }
1279582
public static Function<? super ReactiveSeq<Double>, ? extends ReactiveSeq<Double>> limitDouble(long maxSize){

        return a->a.doubles(i->i,s->s.limit(maxSize));
    }
492019
public double getDouble(String pName, double defaultValue) {
        String pValue = _properties.getProperty(pName);
        return parseDouble(pName, pValue, defaultValue);
    }
167770
@Override
    public double getDoubleValue( final String       key,
                                  final double       defaultValue )
    {
        return formatDoubleValue( key, getFormattedPropValue( key ), defaultValue );
    }
1285443
public static double getJavaRunningVersionAsDouble() {
        String version = System.getProperty("java.version");
        int pos = version.indexOf('.');
        pos = version.indexOf('.', pos + 1);
        return Double.parseDouble(version.substring(0, pos));
    }