alexandroid/decompiled/jadx/sources/org/apache/http/util/LangUtils.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

45 lines
1.2 KiB
Java

package org.apache.http.util;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes11.dex */
public final class LangUtils {
public static final int HASH_OFFSET = 37;
public static final int HASH_SEED = 17;
private LangUtils() {
}
public static boolean equals(Object[] objArr, Object[] objArr2) {
if (objArr == null) {
return objArr2 == null;
}
if (objArr2 == null || objArr.length != objArr2.length) {
return false;
}
for (int i = 0; i < objArr.length; i++) {
if (!equals(objArr[i], objArr2[i])) {
return false;
}
}
return true;
}
public static int hashCode(int i, Object obj) {
return hashCode(i, obj != null ? obj.hashCode() : 0);
}
public static int hashCode(int i, boolean z) {
return hashCode(i, z ? 1 : 0);
}
public static int hashCode(int i, int i2) {
return (i * 37) + i2;
}
public static boolean equals(Object obj, Object obj2) {
if (obj == null) {
return obj2 == null;
}
return obj.equals(obj2);
}
}