- 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
112 lines
3.3 KiB
Java
112 lines
3.3 KiB
Java
package kotlin;
|
|
|
|
import java.io.Serializable;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class Result implements Serializable {
|
|
public static final Companion Companion = new Companion(null);
|
|
public final Object value;
|
|
|
|
/* renamed from: box-impl, reason: not valid java name */
|
|
public static final /* synthetic */ Result m4059boximpl(Object obj) {
|
|
return new Result(obj);
|
|
}
|
|
|
|
/* renamed from: constructor-impl, reason: not valid java name */
|
|
public static Object m4060constructorimpl(Object obj) {
|
|
return obj;
|
|
}
|
|
|
|
/* renamed from: equals-impl, reason: not valid java name */
|
|
public static boolean m4061equalsimpl(Object obj, Object obj2) {
|
|
return (obj2 instanceof Result) && Intrinsics.areEqual(obj, ((Result) obj2).m4067unboximpl());
|
|
}
|
|
|
|
/* renamed from: hashCode-impl, reason: not valid java name */
|
|
public static int m4063hashCodeimpl(Object obj) {
|
|
if (obj == null) {
|
|
return 0;
|
|
}
|
|
return obj.hashCode();
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
return m4061equalsimpl(this.value, obj);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return m4063hashCodeimpl(this.value);
|
|
}
|
|
|
|
/* renamed from: unbox-impl, reason: not valid java name */
|
|
public final /* synthetic */ Object m4067unboximpl() {
|
|
return this.value;
|
|
}
|
|
|
|
public /* synthetic */ Result(Object obj) {
|
|
this.value = obj;
|
|
}
|
|
|
|
/* renamed from: isSuccess-impl, reason: not valid java name */
|
|
public static final boolean m4065isSuccessimpl(Object obj) {
|
|
return !(obj instanceof Failure);
|
|
}
|
|
|
|
/* renamed from: isFailure-impl, reason: not valid java name */
|
|
public static final boolean m4064isFailureimpl(Object obj) {
|
|
return obj instanceof Failure;
|
|
}
|
|
|
|
/* renamed from: exceptionOrNull-impl, reason: not valid java name */
|
|
public static final Throwable m4062exceptionOrNullimpl(Object obj) {
|
|
if (obj instanceof Failure) {
|
|
return ((Failure) obj).exception;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public String toString() {
|
|
return m4066toStringimpl(this.value);
|
|
}
|
|
|
|
/* renamed from: toString-impl, reason: not valid java name */
|
|
public static String m4066toStringimpl(Object obj) {
|
|
if (obj instanceof Failure) {
|
|
return ((Failure) obj).toString();
|
|
}
|
|
return "Success(" + obj + ')';
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
public Companion() {
|
|
}
|
|
}
|
|
|
|
public static final class Failure implements Serializable {
|
|
public final Throwable exception;
|
|
|
|
public Failure(Throwable exception) {
|
|
Intrinsics.checkNotNullParameter(exception, "exception");
|
|
this.exception = exception;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
return (obj instanceof Failure) && Intrinsics.areEqual(this.exception, ((Failure) obj).exception);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.exception.hashCode();
|
|
}
|
|
|
|
public String toString() {
|
|
return "Failure(" + this.exception + ')';
|
|
}
|
|
}
|
|
}
|