- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
69 lines
2.9 KiB
Java
69 lines
2.9 KiB
Java
package kotlin.collections;
|
|
|
|
import java.util.Arrays;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public abstract class ArraysKt__ArraysKt extends ArraysKt__ArraysJVMKt {
|
|
public static boolean contentDeepEquals(Object[] objArr, Object[] objArr2) {
|
|
boolean contentDeepEquals;
|
|
if (objArr == objArr2) {
|
|
return true;
|
|
}
|
|
if (objArr == null || objArr2 == null || objArr.length != objArr2.length) {
|
|
return false;
|
|
}
|
|
int length = objArr.length;
|
|
for (int i = 0; i < length; i++) {
|
|
Object obj = objArr[i];
|
|
Object obj2 = objArr2[i];
|
|
if (obj != obj2) {
|
|
if (obj == null || obj2 == null) {
|
|
return false;
|
|
}
|
|
if ((obj instanceof Object[]) && (obj2 instanceof Object[])) {
|
|
contentDeepEquals = contentDeepEquals((Object[]) obj, (Object[]) obj2);
|
|
if (!contentDeepEquals) {
|
|
return false;
|
|
}
|
|
} else if ((obj instanceof byte[]) && (obj2 instanceof byte[])) {
|
|
if (!Arrays.equals((byte[]) obj, (byte[]) obj2)) {
|
|
return false;
|
|
}
|
|
} else if ((obj instanceof short[]) && (obj2 instanceof short[])) {
|
|
if (!Arrays.equals((short[]) obj, (short[]) obj2)) {
|
|
return false;
|
|
}
|
|
} else if ((obj instanceof int[]) && (obj2 instanceof int[])) {
|
|
if (!Arrays.equals((int[]) obj, (int[]) obj2)) {
|
|
return false;
|
|
}
|
|
} else if ((obj instanceof long[]) && (obj2 instanceof long[])) {
|
|
if (!Arrays.equals((long[]) obj, (long[]) obj2)) {
|
|
return false;
|
|
}
|
|
} else if ((obj instanceof float[]) && (obj2 instanceof float[])) {
|
|
if (!Arrays.equals((float[]) obj, (float[]) obj2)) {
|
|
return false;
|
|
}
|
|
} else if ((obj instanceof double[]) && (obj2 instanceof double[])) {
|
|
if (!Arrays.equals((double[]) obj, (double[]) obj2)) {
|
|
return false;
|
|
}
|
|
} else if ((obj instanceof char[]) && (obj2 instanceof char[])) {
|
|
if (!Arrays.equals((char[]) obj, (char[]) obj2)) {
|
|
return false;
|
|
}
|
|
} else if ((obj instanceof boolean[]) && (obj2 instanceof boolean[])) {
|
|
if (!Arrays.equals((boolean[]) obj, (boolean[]) obj2)) {
|
|
return false;
|
|
}
|
|
} else if (!Intrinsics.areEqual(obj, obj2)) {
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
}
|