put

fun put(key: String, value: Any?): InMemoryCache

put key&value where

Parameters

key

is the String to get the value from anywhere, If you have the key then you can get the value. So keep it safe.