LRUCache

constructor(maxSize: Int = Int.MAX_VALUE, maxMemory: Long = Long.MAX_VALUE, atLeastOne: Boolean = true, getElementMemory: (V) -> Int = { 1 })