Package-level declarations

Types

Link copied to clipboard
interface MemoryCache<K, V>
Link copied to clipboard
Link copied to clipboard
typealias MemoryKey = String

Functions

Link copied to clipboard
fun <K : Any, V : Any> <Error class: unknown class><K, V>.maxSizePercent(context: Context, percent: Double = context.defaultMemoryCacheSizePercent())
fun <K : Any, V : Any> MemoryCacheBuilder<K, V>.maxSizePercent(percent: Double = STANDARD_MEMORY_MULTIPLIER)
fun <K : Any, V : Any> <Error class: unknown class><K, V>.maxSizePercent(percent: Double = STANDARD_MEMORY_MULTIPLIER)
Link copied to clipboard
fun <K : Any, V : Any> MemoryCache(valueHashProvider: (V) -> Int, valueSizeProvider: (V) -> Int, block: MemoryCacheBuilder<K, V>.() -> Unit): MemoryCache<K, V>