LruCache

@NotThreadSafe
class LruCache<T : Any>(maxSize: Int, disposal: (T) -> Unit)

Constructors

Link copied to clipboard
constructor(maxSize: Int, disposal: (T) -> Unit)

Functions

Link copied to clipboard
Link copied to clipboard
fun evict(key: String)
Link copied to clipboard
fun evictAll()
Link copied to clipboard
inline operator fun get(key: String, supplier: () -> T): T