diff options
Diffstat (limited to 'api/pl.treksoft.kvision.utils/-cache/set.html')
-rw-r--r-- | api/pl.treksoft.kvision.utils/-cache/set.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/pl.treksoft.kvision.utils/-cache/set.html b/api/pl.treksoft.kvision.utils/-cache/set.html index 1d3c6baa..522de783 100644 --- a/api/pl.treksoft.kvision.utils/-cache/set.html +++ b/api/pl.treksoft.kvision.utils/-cache/set.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="index.html">Cache</a> / <a href="./set.html">set</a><br/> <br/> <h1>set</h1> -<a name="pl.treksoft.kvision.utils.Cache$set(pl.treksoft.kvision.utils.Cache.K, pl.treksoft.kvision.utils.Cache.V)"></a> -<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">set</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils.Cache$set(pl.treksoft.kvision.utils.Cache.K, pl.treksoft.kvision.utils.Cache.V)/key">key</span><span class="symbol">:</span> <a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.utils.Cache$set(pl.treksoft.kvision.utils.Cache.K, pl.treksoft.kvision.utils.Cache.V)/value">value</span><span class="symbol">:</span> <a href="index.html#V"><span class="identifier">V</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">?</span></code> +(js) <a name="pl.treksoft.kvision.utils.Cache$set(pl.treksoft.kvision.utils.Cache.K, pl.treksoft.kvision.utils.Cache.V)"></a> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">set</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils.Cache$set(pl.treksoft.kvision.utils.Cache.K, pl.treksoft.kvision.utils.Cache.V)/key">key</span><span class="symbol">:</span> <span class="identifier">K</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.utils.Cache$set(pl.treksoft.kvision.utils.Cache.K, pl.treksoft.kvision.utils.Cache.V)/value">value</span><span class="symbol">:</span> <span class="identifier">V</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">K</span><span class="symbol">?</span></code> <p><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-hash-map/index.html">HashMap</a> put and remove is O(1). More info: https://stackoverflow.com/a/4578039/2085356</p> </BODY> |