- 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
95 lines
3.6 KiB
Java
95 lines
3.6 KiB
Java
package androidx.core.util;
|
|
|
|
import android.annotation.SuppressLint;
|
|
import java.util.Objects;
|
|
|
|
@SuppressLint({"UnknownNullness"})
|
|
/* loaded from: classes.dex */
|
|
public interface Predicate<T> {
|
|
boolean test(T t);
|
|
|
|
@SuppressLint({"MissingNullability"})
|
|
default Predicate<T> and(@SuppressLint({"MissingNullability"}) final Predicate<? super T> predicate) {
|
|
Objects.requireNonNull(predicate);
|
|
return new Predicate() { // from class: androidx.core.util.Predicate$$ExternalSyntheticLambda3
|
|
@Override // androidx.core.util.Predicate
|
|
public final boolean test(Object obj) {
|
|
boolean lambda$and$0;
|
|
lambda$and$0 = Predicate.this.lambda$and$0(predicate, obj);
|
|
return lambda$and$0;
|
|
}
|
|
};
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* synthetic */ default boolean lambda$and$0(Predicate predicate, Object obj) {
|
|
return test(obj) && predicate.test(obj);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* synthetic */ default boolean lambda$negate$1(Object obj) {
|
|
return !test(obj);
|
|
}
|
|
|
|
@SuppressLint({"MissingNullability"})
|
|
default Predicate<T> negate() {
|
|
return new Predicate() { // from class: androidx.core.util.Predicate$$ExternalSyntheticLambda4
|
|
@Override // androidx.core.util.Predicate
|
|
public final boolean test(Object obj) {
|
|
boolean lambda$negate$1;
|
|
lambda$negate$1 = Predicate.this.lambda$negate$1(obj);
|
|
return lambda$negate$1;
|
|
}
|
|
};
|
|
}
|
|
|
|
@SuppressLint({"MissingNullability"})
|
|
default Predicate<T> or(@SuppressLint({"MissingNullability"}) final Predicate<? super T> predicate) {
|
|
Objects.requireNonNull(predicate);
|
|
return new Predicate() { // from class: androidx.core.util.Predicate$$ExternalSyntheticLambda0
|
|
@Override // androidx.core.util.Predicate
|
|
public final boolean test(Object obj) {
|
|
boolean lambda$or$2;
|
|
lambda$or$2 = Predicate.this.lambda$or$2(predicate, obj);
|
|
return lambda$or$2;
|
|
}
|
|
};
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* synthetic */ default boolean lambda$or$2(Predicate predicate, Object obj) {
|
|
return test(obj) || predicate.test(obj);
|
|
}
|
|
|
|
@SuppressLint({"MissingNullability"})
|
|
static <T> Predicate<T> isEqual(@SuppressLint({"MissingNullability"}) final Object obj) {
|
|
if (obj == null) {
|
|
return new Predicate() { // from class: androidx.core.util.Predicate$$ExternalSyntheticLambda1
|
|
@Override // androidx.core.util.Predicate
|
|
public final boolean test(Object obj2) {
|
|
boolean isNull;
|
|
isNull = Objects.isNull(obj2);
|
|
return isNull;
|
|
}
|
|
};
|
|
}
|
|
return new Predicate() { // from class: androidx.core.util.Predicate$$ExternalSyntheticLambda2
|
|
@Override // androidx.core.util.Predicate
|
|
public final boolean test(Object obj2) {
|
|
boolean equals;
|
|
equals = obj.equals(obj2);
|
|
return equals;
|
|
}
|
|
};
|
|
}
|
|
|
|
@SuppressLint({"MissingNullability"})
|
|
static <T> Predicate<T> not(@SuppressLint({"MissingNullability"}) Predicate<? super T> predicate) {
|
|
Objects.requireNonNull(predicate);
|
|
return predicate.negate();
|
|
}
|
|
}
|