Rabbit-R1/switch port/java/sources/com/google/common/base/Objects.java
2024-05-21 17:08:36 -04:00

19 lines
528 B
Java

package com.google.common.base;
import java.util.Arrays;
import javax.annotation.CheckForNull;
@ElementTypesAreNonnullByDefault
/* loaded from: classes2.dex */
public final class Objects extends ExtraObjectsMethodsForWeb {
private Objects() {
}
public static boolean equal(@CheckForNull Object obj, @CheckForNull Object obj2) {
return obj == obj2 || (obj != null && obj.equals(obj2));
}
public static int hashCode(@CheckForNull Object... objArr) {
return Arrays.hashCode(objArr);
}
}