tuweni / 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 - String!: A configuration key (e.g. "server.priority").

Exceptions

InvalidConfigurationPropertyTypeException - If the default value is not a double.

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