Rabbit-R1/switch port/java/sources/io/sentry/util/Objects.java
2024-05-21 17:08:36 -04:00

24 lines
541 B
Java

package io.sentry.util;
import java.util.Arrays;
/* loaded from: classes3.dex */
public final class Objects {
private Objects() {
}
public static <T> T requireNonNull(T t, String str) {
if (t != null) {
return t;
}
throw new IllegalArgumentException(str);
}
public static boolean equals(Object obj, Object obj2) {
return obj == obj2 || (obj != null && obj.equals(obj2));
}
public static int hash(Object... objArr) {
return Arrays.hashCode(objArr);
}
}