/* (non-Javadoc)
@see net.crowmagnumb.util.ResourceReader#getDouble(java.lang.String)
962197
@Override
    public Double getDouble( final String    key )
        throws
            UtilException
    {
        return formatDouble( key, getRequiredPropValue( key ) );
    }
323246
public static double getDouble(String pStr) {
        if (isEmpty(pStr)) {
            return 0.0;
        }
        double value = 0.0;
        pStr = pStr.substring(0, pStr.length() - 2) + "." + pStr.substring(pStr.length() - 2);
        try {
            value = Double.parseDouble(pStr);
        } catch (NumberFormatException ex) {
        }
        return value;
    }
297614
public Double getDoubleObject(String attributeName) {
        String val = get(attributeName, null);
        if (val != null) {
            return Double.valueOf(val);
        }
        return null;
    }
492019
public double getDouble(String pName, double defaultValue) {
        String pValue = _properties.getProperty(pName);
        return parseDouble(pName, pValue, defaultValue);
    }
567748
public static final Double getDouble(byte[] data, int offset)
   {
      Double result = null;
      long longValue = getLong(data, offset);
      if (longValue != NULL_DOUBLE)
      {
         double doubleValue = Double.longBitsToDouble(longValue);
         if (!Double.isNaN(doubleValue))
         {
            result = Double.valueOf(doubleValue);
         }
      }
      return result;
   }
788280
public double getDouble(String name, String namespace) {
        return Double.parseDouble(get(name, namespace));
    }
386663
static double readDouble(Node node)
    {
        if (node == null)
        {
            throw new XmlException(
                "Tried to read double value from null node");
        }
        String value = node.getFirstChild().getNodeValue();
        if (value == null)
        {
            throw new XmlException(
                "Tried to read double value from null value");
        }
        try
        {
            return Double.parseDouble(value);
        }
        catch (NumberFormatException e)
        {
            throw new XmlException(
                "Expected double value, found \""+value+"\"", e);
        }
    }
583112
@Override
  public final Double getDouble(final String pColumnName) throws Exception {
    int columnIndex = this.resultSet.getColumnIndex(pColumnName);
    Double result = null;
    if (!this.resultSet.isNull(columnIndex)) {
      result = this.resultSet.getDouble(columnIndex);
    }
    return result;
  }
427334
public double getDouble(String name, double defaultVal){
        if(this.configuration.containsKey(name)){
            return this.configuration.getDouble(name);
        } else {
            return defaultVal;
        }
    }
1154062
private Double getDouble(String number) {
    try {
      return Double.parseDouble(number);
    } catch (NumberFormatException e) {
      return null;
    }
  }
1333621
@Override
    public Double getDouble(final String key) {
        return retrieve(new Callable<Double>() {
            @Override
            public Double call() throws Exception {
                return configuration.getDouble(key);
            }
        }, null);
    }
935837
@Override
    public Double getDoubleOrDie(String key) {
        Double value = getDouble(key);
        if (value == null) {
            throw new IllegalArgumentException(String.format(ERROR_KEYNOTFOUND, key));
        } else {
            return value;
        }
    }
693600
public double getDouble(String name) throws JSONException {
		Object object = get(name);
		Double result = JSON.toDouble(object);
		if (result == null) {
			throw JSON.typeMismatch(name, object, "double");
		}
		return result;
	}
92458
public Double getDouble(String name) {
        Object o = get(name);
        if (o instanceof Number) {
            return ((Number)o).doubleValue();
        }

        if (o != null) {
            try {
                String string = o.toString();
                if (string != null) {
                    return Double.parseDouble(string);
                }
            }
            catch (NumberFormatException e) {}
        }
        return null;
    }
630686
public double getDouble(String key) {
    if (containsKey(key)) {
      return Double.parseDouble(get(key));
    } else {
      throw new IllegalArgumentException("Missing key " + key + ".");
    }
  }
312278
public double getDoubleValue(Enum key) {
    if (this._task.get(key) == null) {
      return (double)0;
    } else {
      return Double.parseDouble(this._task.get(key));
    }
  }
333201
public static double getDouble(JsonObject object, String field) {
        final JsonValue value = object.get(field);
        throwExceptionIfNull(value, field);
        return value.asDouble();
    }