LimitedCache

fun LimitedCache(maximumSize: Int)

Construct a new LimitedCache with the given maximum size.

Parameters

K

The keys of the cache.

V

The values associated with keys of the cache.

maximumSize

The maximum cache size.