@NotThreadSafe
public final class SingleThreadedLruCache<K,V>
extends java.lang.Object
Constructor and Description |
---|
SingleThreadedLruCache(int maxCapacity) |
Modifier and Type | Method and Description |
---|---|
V |
computeIfAbsent(K key,
java.util.function.Function<? super K,? extends V> mappingFunction) |
V |
get(K key) |
void |
put(K key,
V value) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.