- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
64 lines
1.4 KiB
Java
64 lines
1.4 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.text.TextUtils;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class b1 {
|
|
public static void a(boolean z) {
|
|
if (!z) {
|
|
throw new IllegalArgumentException();
|
|
}
|
|
}
|
|
|
|
public static void b(boolean z) {
|
|
if (!z) {
|
|
throw new IllegalStateException();
|
|
}
|
|
}
|
|
|
|
public static void a(boolean z, Object obj) {
|
|
if (!z) {
|
|
throw new IllegalArgumentException(String.valueOf(obj));
|
|
}
|
|
}
|
|
|
|
public static int a(int i, int i2, int i3) {
|
|
if (i < i2 || i >= i3) {
|
|
throw new IndexOutOfBoundsException();
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static void b(boolean z, Object obj) {
|
|
if (!z) {
|
|
throw new IllegalStateException(String.valueOf(obj));
|
|
}
|
|
}
|
|
|
|
public static Object b(Object obj) {
|
|
if (obj != null) {
|
|
return obj;
|
|
}
|
|
throw new IllegalStateException();
|
|
}
|
|
|
|
public static String a(String str) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
throw new IllegalArgumentException();
|
|
}
|
|
return str;
|
|
}
|
|
|
|
public static Object a(Object obj) {
|
|
obj.getClass();
|
|
return obj;
|
|
}
|
|
|
|
public static Object a(Object obj, Object obj2) {
|
|
if (obj != null) {
|
|
return obj;
|
|
}
|
|
throw new IllegalStateException(String.valueOf(obj2));
|
|
}
|
|
}
|