aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.utils/-cache/-init-.html
diff options
context:
space:
mode:
Diffstat (limited to 'api1/pl.treksoft.kvision.utils/-cache/-init-.html')
-rw-r--r--api1/pl.treksoft.kvision.utils/-cache/-init-.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.utils/-cache/-init-.html b/api1/pl.treksoft.kvision.utils/-cache/-init-.html
new file mode 100644
index 00000000..05af599a
--- /dev/null
+++ b/api1/pl.treksoft.kvision.utils/-cache/-init-.html
@@ -0,0 +1,17 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Cache.<init> - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.utils</a>&nbsp;/&nbsp;<a href="index.html">Cache</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
+<br/>
+<h1>&lt;init&gt;</h1>
+<a name="pl.treksoft.kvision.utils.Cache$&lt;init&gt;(kotlin.Int)"></a>
+<code><span class="identifier">Cache</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils.Cache$<init>(kotlin.Int)/capacity">capacity</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a>&nbsp;<span class="symbol">=</span>&nbsp;50<span class="symbol">)</span></code>
+<p>This is a LRU cache that has no performance impact for cache insertions
+once the capacity of the cache has been reached. For cache hit,
+performance is O(1) and for cache eviction, it is O(1).</p>
+</BODY>
+</HTML>