RecyclerLruCache

class RecyclerLruCache<K, V>(maxSize: Int) : LruCache<K, V>

Types

OnEntryRemovedListener
Link copied to clipboard
interface OnEntryRemovedListener<K, V>

Functions

create
Link copied to clipboard
open fun create(p0: K): V
createCount
Link copied to clipboard
fun createCount(): Int
evictAll
Link copied to clipboard
fun evictAll()
evictionCount
Link copied to clipboard
fun evictionCount(): Int
get
Link copied to clipboard
operator fun get(p0: K): V
hitCount
Link copied to clipboard
fun hitCount(): Int
maxSize
Link copied to clipboard
fun maxSize(): Int
missCount
Link copied to clipboard
fun missCount(): Int
put
Link copied to clipboard
fun put(p0: K, p1: V): V
putCount
Link copied to clipboard
fun putCount(): Int
remove
Link copied to clipboard
fun remove(p0: K): V
resize
Link copied to clipboard
open fun resize(p0: Int)
setOnEntryRemovedListener
Link copied to clipboard
fun setOnEntryRemovedListener(listener: RecyclerLruCache.OnEntryRemovedListener<K, V>?)
fun setOnEntryRemovedListener(block: (K, V, V) -> Unit)
size
Link copied to clipboard
fun size(): Int
sizeOf
Link copied to clipboard
open fun sizeOf(p0: K, p1: V): Int
snapshot
Link copied to clipboard
fun snapshot(): MutableMap<K, V>
toString
Link copied to clipboard
override fun toString(): String
trimToSize
Link copied to clipboard
open fun trimToSize(p0: Int)