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

55 lines
1.4 KiB
Java

package com.airbnb.deeplinkdispatch;
import o.C14957gcv;
/* loaded from: classes.dex */
public final class Scheme extends TreeNode {
private final String id;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Scheme(String str) {
super(str, new NodeMetadata((byte) 2, str));
C14957gcv.e(str, "");
this.id = str;
}
public final String toString() {
StringBuilder sb = new StringBuilder("Scheme(id=");
sb.append(getId());
sb.append(')');
return sb.toString();
}
public final int hashCode() {
return getId().hashCode();
}
@Override // com.airbnb.deeplinkdispatch.TreeNode
public final String getId() {
return this.id;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof Scheme) && C14957gcv.b((Object) getId(), (Object) ((Scheme) obj).getId());
}
public final Scheme copy(String str) {
C14957gcv.e(str, "");
return new Scheme(str);
}
public final String component1() {
return getId();
}
public static /* synthetic */ Scheme copy$default(Scheme scheme, String str, int i, Object obj) {
if ((i & 1) != 0) {
str = scheme.getId();
}
return scheme.copy(str);
}
}