application-context-util
Toggle table of contents
JVM
Platform filter
JVM
Switch theme
Search in API
application-context-util
application-context-util
/
io.github.funofprograming.context
/
ApplicationContext
/
addWithOverwrite
add
With
Overwrite
abstract
fun
<
T
>
addWithOverwrite
(
key
:
Key
<
T
>
,
value
:
T
?
)
:
Any
?
Add value for given key even if already present.
Return
Previous value associated with key if any or null
Parameters
key
value