- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
29 lines
927 B
Java
29 lines
927 B
Java
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<String> getNewHashSet(HashSet<String> hashSet) {
|
|
HashSet<String> hashSet2;
|
|
synchronized (CollectionsConcurrencyUtil.class) {
|
|
hashSet2 = new HashSet<>(hashSet);
|
|
}
|
|
return hashSet2;
|
|
}
|
|
|
|
public static final synchronized void addToSet(HashSet<String> hashset, String set) {
|
|
synchronized (CollectionsConcurrencyUtil.class) {
|
|
Intrinsics.checkNotNullParameter(hashset, "hashset");
|
|
Intrinsics.checkNotNullParameter(set, "set");
|
|
hashset.add(set);
|
|
}
|
|
}
|
|
}
|