Files
rr3-apk/decompiled/sources/kotlin/collections/ArraysKt__ArraysJVMKt.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

27 lines
988 B
Java

package kotlin.collections;
import java.lang.reflect.Array;
import java.util.Arrays;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes5.dex */
public abstract class ArraysKt__ArraysJVMKt {
public static final Object[] arrayOfNulls(Object[] reference, int i) {
Intrinsics.checkNotNullParameter(reference, "reference");
Object newInstance = Array.newInstance(reference.getClass().getComponentType(), i);
Intrinsics.checkNotNull(newInstance, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.arrayOfNulls>");
return (Object[]) newInstance;
}
public static final void copyOfRangeToIndexCheck(int i, int i2) {
if (i <= i2) {
return;
}
throw new IndexOutOfBoundsException("toIndex (" + i + ") is greater than size (" + i2 + ").");
}
public static int contentDeepHashCode(Object[] objArr) {
return Arrays.deepHashCode(objArr);
}
}