LeastRecentlyUsedCache

class LeastRecentlyUsedCache<K, V>(maxSize: Int) : MutableMap<K, V>

Created by Nicholas Eddy on 3/22/20.

Constructors

Link copied to clipboard
constructor(maxSize: Int)

Properties

Link copied to clipboard
Link copied to clipboard
open override val keys: MutableSet<K>
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: MutableList<V>

Functions

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun containsKey(key: K): Boolean
Link copied to clipboard
open override fun containsValue(value: V): Boolean
Link copied to clipboard
open operator override fun get(key: K): V?
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open override fun put(key: K, value: V): V?
Link copied to clipboard
open override fun putAll(from: Map<out K, V>)
Link copied to clipboard
open override fun remove(key: K): V?