set

fun <T> set(key: ConfigurationKey<T>, value: T?)

Sets a key and its value.

Parameters

key

the key, cannot be null

value

value to set

Type Parameters

T

the value's type