获取double类型属性值

@param key 属性名
@param group 分组名
@return 属性值
170175
public Double getDouble(String key, String group) {
		return getDouble(key, group, null);
	}
1095949
public String[] getStrings(String key, String group, String delimiter) {
		final String value = getByGroup(key, group);
		if (StrUtil.isBlank(value)) {
			return null;
		}
		return StrUtil.split(value, delimiter);
	}
167770
@Override
    public double getDoubleValue( final String       key,
                                  final double       defaultValue )
    {
        return formatDoubleValue( key, getFormattedPropValue( key ), defaultValue );
    }
366033
public Double getDouble(String key, Double defaultValue) throws SyntaxException
    {
        String value = getSimple(key);
        if (value == null)
        {
            return defaultValue;
        }
        else
        {
            try
            {
                return Double.valueOf(value);
            }
            catch (NumberFormatException e)
            {
                throw new SyntaxException(String.format("Invalid double value %s for '%s'", value, key));
            }
        }
    }
601234
public double optDouble(String key){
		LazyNode token=getOptionalFieldToken(key);
		if(token==null)return 0.0;
		if(token.type==LazyNode.VALUE_NULL)return 0.0;
		return token.getDoubleValue();
	}
499787
public static int countByG_K_T(long groupId, String key, int type) {
		return getPersistence().countByG_K_T(groupId, key, type);
	}
1124168
private int getDataIndexOfKey(Object key) {
    int dataSize = this.size << 1;
    Object[] data = this.data;
    for (int i = 0; i < dataSize; i += 2) {
      Object k = data[i];
      if (key == null ? k == null : key.equals(k)) {
        return i;
      }
    }
    return -2;
  }
195321
public double getDouble(String key) throws JSONException {
        Object object = this.get(key);
        try {
            return object instanceof Number ? ((Number) object).doubleValue()
                    : Double.parseDouble((String) object);
        } catch (Exception e) {
            throw new JSONException("JSONObject[" + quote(key)
                    + "] is not a number.");
        }
    }
445896
@Override
	public Double getPropertyDouble(String key)
	{
		Double iVal = null;
		String sVal = getProperty(key);

		if ((sVal != null) && (sVal.length() > 0))
		{

			iVal = Double.valueOf(sVal);

		}
		return iVal;

	}
646693
public double getDoubleValue(Enum key) {
    if (this._job.get(key) == null) {
      return (double)0;
    } else {
      return Double.parseDouble(this._job.get(key));
    }
  }
412444
public double getDouble(String key, double default_) {
    Object o = get(key);
    return o instanceof Number ? ((Number) o).doubleValue() : default_;
  }
1271515
public Double getGroupingDouble(String label) {
        PrimitiveObject o = getPrimitiveObject(KEY, label, ObjectUtil.DOUBLE, "Double");
        if (o == null) {
            return null;
        }
        return (Double) o.getObject();
    }
238424
function(group,key,d){
		var bd = this.board;
		if(group==='excell'){
			if(bd.hasexcell===1 && (key & this.FLIP)){
				var d2 = {x1:d.x1, y1:d.y1, x2:d.x2, y2:d.y2};
				if     (key===this.FLIPY){ d2.x1 = d2.x2 = -1;}
				else if(key===this.FLIPX){ d2.y1 = d2.y2 = -1;}
				d = d2;
			}
			else if(bd.hasexcell===2){
				d = {x1:-1, y1:-1, x2:d.x2+1, y2:d.y2+1};
			}
		}

		var objlist = bd.objectinside(group,d.x1,d.y1,d.x2,d.y2);
		var converted = {}, xx=(d.x1+d.x2), yy=(d.y1+d.y2);
		for(var i=0;i<objlist.length;i++){
			var obj = objlist[i], id = null;
			switch(key){
				case this.FLIPY: id = bd.getObjectPos(group, obj.bx, yy-obj.by).id; break;
				case this.FLIPX: id = bd.getObjectPos(group, xx-obj.bx, obj.by).id; break;
				case this.TURNL: id = bd.getObjectPos(group, obj.by, yy-obj.bx).id; break;
				case this.TURNR: id = bd.getObjectPos(group, xx-obj.by, obj.bx).id; break;
			}
			converted[id] = obj;
		}

		var groups = bd.getGroup(group);
		for(var n in converted){ groups[+n] = converted[n];}
	}
102392
public double getDouble(String key, double def) {
        Object tmp = objectMap.get(key);
        return tmp != null && tmp instanceof Number ? ((Number) tmp)
                .doubleValue() : def;
    }
87489
public Double getAsDouble(String key) {
        Object value = mValues.get(key);
        try {
            return value != null ? ((Number) value).doubleValue() : null;
        } catch (ClassCastException e) {
            if (value instanceof CharSequence) {
                try {
                    return Double.valueOf(value.toString());
                } catch (NumberFormatException e2) {
                    logger.severe("Cannot parse Double value for " + value + " at key " + key);
                    return null;
                }
            } else {
                logger.log(Level.SEVERE, "Cannot cast value for " + key + " to a Double: " + value, e);
                return null;
            }
        }
    }
1154062
private Double getDouble(String number) {
    try {
      return Double.parseDouble(number);
    } catch (NumberFormatException e) {
      return null;
    }
  }
1119041
public Double getAsDouble(String key) {
        Object value = mValues.get(key);
        try {
            return value != null ? ((Number) value).doubleValue() : null;
        } catch (ClassCastException e) {
            if (value instanceof CharSequence) {
                try {
                    return Double.valueOf(value.toString());
                } catch (NumberFormatException e2) {
                    DLog.e(TAG, "Cannot parse Double value for " + value + " at key " + key);
                    return null;
                }
            } else {
                DLog.e(TAG, "Cannot cast value for " + key + " to a Double: " + value, e);
                return null;
            }
        }
    }