package com.vungle.ads.internal.util; import java.util.HashSet; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes4.dex */ public final class CollectionsConcurrencyUtil { public static final CollectionsConcurrencyUtil INSTANCE = new CollectionsConcurrencyUtil(); private CollectionsConcurrencyUtil() { } public static final synchronized HashSet getNewHashSet(HashSet hashSet) { HashSet hashSet2; synchronized (CollectionsConcurrencyUtil.class) { hashSet2 = new HashSet<>(hashSet); } return hashSet2; } public static final synchronized void addToSet(HashSet hashset, String set) { synchronized (CollectionsConcurrencyUtil.class) { Intrinsics.checkNotNullParameter(hashset, "hashset"); Intrinsics.checkNotNullParameter(set, "set"); hashset.add(set); } } }