what-the-bank/sources/o/C14859gaX.java

24 lines
639 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Collections;
import java.util.Set;
/* renamed from: o.gaX, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C14859gaX extends gaW {
/* JADX WARN: Multi-variable type inference failed */
public static final <T> Set<T> d(Set<? extends T> set) {
C14957gcv.e(set, "");
int size = set.size();
if (size == 0) {
return gaH.e;
}
if (size != 1) {
return set;
}
Set<T> singleton = Collections.singleton(set.iterator().next());
C14957gcv.c(singleton, "");
return singleton;
}
}