Interface Cache<K,V>
-
public interface Cache<K,V>A cache from keys to values.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description VcomputeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)Returns the cached value associated with the providedkey.static CacheBuildernewBuilder()Returns a newCacheBuilderto configure aCache.
-
-
-
Method Detail
-
newBuilder
static CacheBuilder newBuilder()
Returns a newCacheBuilderto configure aCache.
-
-