Rabbit-R1/switch port/java/sources/com/google/common/collect/ClassToInstanceMap.java
2024-05-21 17:08:36 -04:00

16 lines
503 B
Java

package com.google.common.collect;
import com.google.errorprone.annotations.DoNotMock;
import java.util.Map;
import javax.annotation.CheckForNull;
@DoNotMock("Use ImmutableClassToInstanceMap or MutableClassToInstanceMap")
@ElementTypesAreNonnullByDefault
/* loaded from: classes3.dex */
public interface ClassToInstanceMap<B> extends Map<Class<? extends B>, B> {
@CheckForNull
<T extends B> T getInstance(Class<T> cls);
@CheckForNull
<T extends B> T putInstance(Class<T> cls, T t);
}