Rabbit-R1/switch port/java/sources/com/google/common/cache/LoadingCache.java

26 lines
701 B
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package com.google.common.cache;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ExecutionException;
@ElementTypesAreNonnullByDefault
/* loaded from: classes2.dex */
public interface LoadingCache<K, V> extends Cache<K, V>, Function<K, V> {
@Override // com.google.common.base.Function
@Deprecated
V apply(K k);
@Override // com.google.common.cache.Cache
ConcurrentMap<K, V> asMap();
V get(K k) throws ExecutionException;
ImmutableMap<K, V> getAll(Iterable<? extends K> iterable) throws ExecutionException;
V getUnchecked(K k);
void refresh(K k);
}