config / org.apache.tuweni.config / Schema / getDefaultDouble

getDefaultDouble

@Nullable fun getDefaultDouble(key: String): Double? (source)

Get a default value from this configuration as a double.

Parameters

key - A configuration key (e.g. "server.priority").

Exceptions

InvalidConfigurationPropertyTypeException - If the default value is not a double.

Return
The value, or null if no default was available.