package n;

import java.util.List;
import o.AbstractC2628a;

/* JADX INFO: loaded from: classes.dex */
public abstract class V {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final Object[] f21378a = new Object[0];

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final J f21379b = new J(0);

    public static final void a(int i6, List list) {
        int size = list.size();
        if (i6 < 0 || i6 >= size) {
            AbstractC2628a.d("Index " + i6 + " is out of bounds. The list has " + size + " elements.");
            throw null;
        }
    }

    public static final void b(List list, int i6, int i7) {
        int size = list.size();
        if (i6 > i7) {
            AbstractC2628a.c("Indices are out of order. fromIndex (" + i6 + ") is greater than toIndex (" + i7 + ").");
            throw null;
        }
        if (i6 < 0) {
            AbstractC2628a.d("fromIndex (" + i6 + ") is less than 0.");
            throw null;
        }
        if (i7 <= size) {
            return;
        }
        AbstractC2628a.d("toIndex (" + i7 + ") is more than than the list size (" + size + ')');
        throw null;
    }
}
