Gets the prefixed key and parse it to an double[]<br>
Each comma-separated list can be used. If the key couldn't get found, the
default will be used.

@param key
the key
@param def
default value

@return double[]
548906
public double[] getDoubleArray(final String key, final double[] def) {
		try {
			final double[] result = getDoubleArray(key);
			return result != null ? result : def;
		} catch (final NumberFormatException nfe) {
			return def;
		}
	}
604549
public static double getDouble(Properties props, String key, double defaultValue) {
    String value = props.getProperty(key);
    if (value != null) {
      return Double.parseDouble(value);
    } else {
      return defaultValue;
    }
  }
743216
public byte[] getByteArray(final String key, final byte[] def) {
		try {
			final byte[] result = getByteArray(key);
			return result != null ? result : def;
		} catch (final NumberFormatException nfe) {
			return def;
		}
	}
827111
public Set<String> getPropAsSet(String key, String def) {
    return ImmutableSet.copyOf(LIST_SPLITTER.splitToList(getProp(key, def)));
  }
893560
public double[] getDoubleArray(final String key) {
		final String[] value = getArray(key);
		if (value != null) {
			final double[] result = new double[value.length];
			for (int i = 0; i < value.length; i++) {
				result[i] = Double.parseDouble(value[i]);
			}
			return result;
		}
		return null;
	}
1350162
public float[] getFloatVec(String key)
    {
        float[] vec = NativeLight.getFloatVec(getNative(), key);
        if (vec == null)
            throw new IllegalArgumentException("key " + key + " not found in light");
        return vec;
    }
167770
@Override
    public double getDoubleValue( final String       key,
                                  final double       defaultValue )
    {
        return formatDoubleValue( key, getFormattedPropValue( key ), defaultValue );
    }
1114476
public static String getProperty( String key, String def ) {
        return prp.getProperty( key, def );
    }
1035421
public List<V> getAll(Object key) {
        List<V> res = map.get(key);
        if (res == null) {
            res = Collections.emptyList();
        }
        return res;
    }
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;
  }
84452
public long getLong(String key, long def) {
        Object tmp = objectMap.get(key);
        return tmp != null && tmp instanceof Number ? ((Number) tmp)
                .longValue() : def;
    }
172058
public static long getLong( String key, long def ) {
        String s = prp.getProperty( key );
        if( s != null ) {
            try {
                def = Long.parseLong( s );
            } catch( NumberFormatException nfe ) {
                if( log.level > 0 )
                    nfe.printStackTrace( log );
            }
        }
        return def;
    }
852652
public static String[] fastSplitKey(String key) {
    int i = key.indexOf(':');
    if(-1 == i) {
      return new String[]{key};
    }
    else {
      int j = key.indexOf(':', i+1);
      if (-1 != j) {
        return null;
      }
      else {
        return new String[]{key.substring(0, i), key.substring(i+1)};
      }
    }
  }
1255660
@Override
    public final Double optDouble(final String key, final Double defaultValue) {
        Double result = optDouble(key);
        return result == null ? defaultValue : result;
    }
358042
public short[] getShortArray(final String key, final short[] def) {
		try {
			final short[] result = getShortArray(key);
			return result != null ? result : def;
		} catch (final NumberFormatException nfe) {
			return def;
		}
	}
1240628
public byte[] getByteArray(final String key, final byte[] def) {
		try {
			return systemRoot.getByteArray(fixKey(key), def);
		} catch (final Exception e) {
			// just eat the exception to avoid any system crash on system issues
			return def;
		}
	}
1147797
public int[] getIntArray(final String key, final int[] def) {
		try {
			final int[] result = getIntArray(key);
			return result != null ? result : def;
		} catch (final NumberFormatException nfe) {
			return def;
		}
	}