78 lines
2.4 KiB
Java
78 lines
2.4 KiB
Java
|
package com.airbnb.deeplinkdispatch.base;
|
||
|
|
||
|
import o.C14957gcv;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class CompareResult {
|
||
|
private final boolean isEmptyConfigurablePathSegmentMatch;
|
||
|
private final String placeholderValue;
|
||
|
|
||
|
public CompareResult(String str, boolean z) {
|
||
|
C14957gcv.e(str, "");
|
||
|
this.placeholderValue = str;
|
||
|
this.isEmptyConfigurablePathSegmentMatch = z;
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
StringBuilder sb = new StringBuilder("CompareResult(placeholderValue=");
|
||
|
sb.append(this.placeholderValue);
|
||
|
sb.append(", isEmptyConfigurablePathSegmentMatch=");
|
||
|
sb.append(this.isEmptyConfigurablePathSegmentMatch);
|
||
|
sb.append(')');
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
public final boolean isEmptyConfigurablePathSegmentMatch() {
|
||
|
return this.isEmptyConfigurablePathSegmentMatch;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
public final int hashCode() {
|
||
|
int hashCode = this.placeholderValue.hashCode();
|
||
|
boolean z = this.isEmptyConfigurablePathSegmentMatch;
|
||
|
int i = z;
|
||
|
if (z != 0) {
|
||
|
i = 1;
|
||
|
}
|
||
|
return (hashCode * 31) + i;
|
||
|
}
|
||
|
|
||
|
public final String getPlaceholderValue() {
|
||
|
return this.placeholderValue;
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof CompareResult)) {
|
||
|
return false;
|
||
|
}
|
||
|
CompareResult compareResult = (CompareResult) obj;
|
||
|
return C14957gcv.b((Object) this.placeholderValue, (Object) compareResult.placeholderValue) && this.isEmptyConfigurablePathSegmentMatch == compareResult.isEmptyConfigurablePathSegmentMatch;
|
||
|
}
|
||
|
|
||
|
public final CompareResult copy(String str, boolean z) {
|
||
|
C14957gcv.e(str, "");
|
||
|
return new CompareResult(str, z);
|
||
|
}
|
||
|
|
||
|
public final boolean component2() {
|
||
|
return this.isEmptyConfigurablePathSegmentMatch;
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return this.placeholderValue;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ CompareResult copy$default(CompareResult compareResult, String str, boolean z, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
str = compareResult.placeholderValue;
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
z = compareResult.isEmptyConfigurablePathSegmentMatch;
|
||
|
}
|
||
|
return compareResult.copy(str, z);
|
||
|
}
|
||
|
}
|