what-the-bank/sources/com/airbnb/deeplinkdispatch/DeepLinkHandlerResult.java

74 lines
2.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.airbnb.deeplinkdispatch;
import o.C14957gcv;
/* loaded from: classes.dex */
public final class DeepLinkHandlerResult<T> {
private final com.airbnb.deeplinkdispatch.handler.DeepLinkHandler<T> deepLinkHandler;
private final T deepLinkHandlerArgs;
public DeepLinkHandlerResult(com.airbnb.deeplinkdispatch.handler.DeepLinkHandler<T> deepLinkHandler, T t) {
C14957gcv.e(deepLinkHandler, "");
this.deepLinkHandler = deepLinkHandler;
this.deepLinkHandlerArgs = t;
}
public final String toString() {
StringBuilder sb = new StringBuilder("DeepLinkHandlerResult(deepLinkHandler=");
sb.append(this.deepLinkHandler);
sb.append(", deepLinkHandlerArgs=");
sb.append(this.deepLinkHandlerArgs);
sb.append(')');
return sb.toString();
}
public final int hashCode() {
int hashCode = this.deepLinkHandler.hashCode();
T t = this.deepLinkHandlerArgs;
return (hashCode * 31) + (t == null ? 0 : t.hashCode());
}
public final T getDeepLinkHandlerArgs() {
return this.deepLinkHandlerArgs;
}
public final com.airbnb.deeplinkdispatch.handler.DeepLinkHandler<T> getDeepLinkHandler() {
return this.deepLinkHandler;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof DeepLinkHandlerResult)) {
return false;
}
DeepLinkHandlerResult deepLinkHandlerResult = (DeepLinkHandlerResult) obj;
return C14957gcv.b(this.deepLinkHandler, deepLinkHandlerResult.deepLinkHandler) && C14957gcv.b(this.deepLinkHandlerArgs, deepLinkHandlerResult.deepLinkHandlerArgs);
}
public final DeepLinkHandlerResult<T> copy(com.airbnb.deeplinkdispatch.handler.DeepLinkHandler<T> deepLinkHandler, T t) {
C14957gcv.e(deepLinkHandler, "");
return new DeepLinkHandlerResult<>(deepLinkHandler, t);
}
public final T component2() {
return this.deepLinkHandlerArgs;
}
public final com.airbnb.deeplinkdispatch.handler.DeepLinkHandler<T> component1() {
return this.deepLinkHandler;
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ DeepLinkHandlerResult copy$default(DeepLinkHandlerResult deepLinkHandlerResult, com.airbnb.deeplinkdispatch.handler.DeepLinkHandler deepLinkHandler, Object obj, int i, Object obj2) {
if ((i & 1) != 0) {
deepLinkHandler = deepLinkHandlerResult.deepLinkHandler;
}
if ((i & 2) != 0) {
obj = deepLinkHandlerResult.deepLinkHandlerArgs;
}
return deepLinkHandlerResult.copy(deepLinkHandler, obj);
}
}