jimu-decompiled/sources/androidx/core/util/Preconditions.java
2025-05-13 19:24:51 +02:00

26 lines
539 B
Java

package androidx.core.util;
/* loaded from: classes.dex */
public class Preconditions {
public static <T> T a(T t) {
if (t != null) {
return t;
}
throw new NullPointerException();
}
public static <T> T a(T t, Object obj) {
if (t != null) {
return t;
}
throw new NullPointerException(String.valueOf(obj));
}
public static int a(int i) {
if (i >= 0) {
return i;
}
throw new IllegalArgumentException();
}
}