RecyclerLruCache

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

Types

OnEntryRemovedListener
链接已复制到剪贴板
interface OnEntryRemovedListener<K, V>

Functions

create
链接已复制到剪贴板
open fun create(p0: K): V
createCount
链接已复制到剪贴板
fun createCount(): Int
evictAll
链接已复制到剪贴板
fun evictAll()
evictionCount
链接已复制到剪贴板
fun evictionCount(): Int
get
链接已复制到剪贴板
operator fun get(p0: K): V
hitCount
链接已复制到剪贴板
fun hitCount(): Int
maxSize
链接已复制到剪贴板
fun maxSize(): Int
missCount
链接已复制到剪贴板
fun missCount(): Int
put
链接已复制到剪贴板
fun put(p0: K, p1: V): V
putCount
链接已复制到剪贴板
fun putCount(): Int
remove
链接已复制到剪贴板
fun remove(p0: K): V
resize
链接已复制到剪贴板
open fun resize(p0: Int)
setOnEntryRemovedListener
链接已复制到剪贴板
fun setOnEntryRemovedListener(listener: RecyclerLruCache.OnEntryRemovedListener<K, V>?)
fun setOnEntryRemovedListener(block: (K, V, V) -> Unit)
size
链接已复制到剪贴板
fun size(): Int
sizeOf
链接已复制到剪贴板
open fun sizeOf(p0: K, p1: V): Int
snapshot
链接已复制到剪贴板
fun snapshot(): MutableMap<K, V>
toString
链接已复制到剪贴板
override fun toString(): String
trimToSize
链接已复制到剪贴板
open fun trimToSize(p0: Int)