what-the-bank/sources/com/google/firebase/components/AbstractComponentContainer....

22 lines
631 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.firebase.components;
import com.google.firebase.inject.Provider;
import java.util.Set;
/* loaded from: classes.dex */
abstract class AbstractComponentContainer implements ComponentContainer {
@Override // com.google.firebase.components.ComponentContainer
public <T> T get(Class<T> cls) {
Provider<T> provider = getProvider(cls);
if (provider == null) {
return null;
}
return provider.get();
}
@Override // com.google.firebase.components.ComponentContainer
public <T> Set<T> setOf(Class<T> cls) {
return setOfProvider(cls).get();
}
}