//MetaPhrase/com.github.diegoberaldin.metaphrase.core.common.utils/LruCache
LruCache
A simple implementation of an LRU cache.
Parameters
jvm
| T | type of the items to save |
Constructors
| LruCache | [jvm] constructor(size: Int) Create LruCache |
Functions
| Name | Summary |
|---|---|
| get | [jvm] operator fun get(key: String): T? |
| set | [jvm] operator fun set(key: String, value: T) |