package androidx.fragment.app; import androidx.annotation.Nullable; import androidx.lifecycle.ViewModelStore; import java.util.Collection; import java.util.Map; @Deprecated /* loaded from: classes.dex */ public class FragmentManagerNonConfig { @Nullable private final Map mChildNonConfigs; @Nullable private final Collection mFragments; @Nullable private final Map mViewModelStores; @Nullable public Map getChildNonConfigs() { return this.mChildNonConfigs; } @Nullable public Collection getFragments() { return this.mFragments; } @Nullable public Map getViewModelStores() { return this.mViewModelStores; } public FragmentManagerNonConfig(@Nullable Collection collection, @Nullable Map map, @Nullable Map map2) { this.mFragments = collection; this.mChildNonConfigs = map; this.mViewModelStores = map2; } public boolean isRetaining(Fragment fragment) { Collection collection = this.mFragments; if (collection == null) { return false; } return collection.contains(fragment); } }