tuweni / org.apache.tuweni.config / Configuration / getDouble

getDouble

abstract fun getDouble(key: String!): Double (source)

Get a double from this configuration.

Parameters

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

Exceptions

IllegalArgumentException - If the key cannot be parsed.

InvalidConfigurationPropertyTypeException - If the value is not a double.

NoConfigurationPropertyException - If the key was not set in the configuration.

Return
Double: The value.