public interface Cache<K,V>
void
clear()
default V
computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
V
get(K key)
put(K key, V val)
remove(K key)
V put(K key, V val)
V get(K key)
V remove(K key)
void clear()
default V computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.