LargeCache inner map should be private

This commit is contained in:
Vitor Pamplona 2024-04-04 23:05:35 -04:00
parent 79489d0b07
commit d92f23e274

View File

@ -24,7 +24,7 @@ import java.util.concurrent.ConcurrentSkipListMap
import java.util.function.BiConsumer
class LargeCache<K, V> {
val cache = ConcurrentSkipListMap<K, V>()
private val cache = ConcurrentSkipListMap<K, V>()
fun get(key: K) = cache.get(key)