55 lines
1.3 KiB
Java
55 lines
1.3 KiB
Java
|
package com.airbnb.deeplinkdispatch;
|
||
|
|
||
|
import o.C14957gcv;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class Host extends TreeNode {
|
||
|
private final String id;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public Host(String str) {
|
||
|
super(str, new NodeMetadata((byte) 4, str));
|
||
|
C14957gcv.e(str, "");
|
||
|
this.id = str;
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
StringBuilder sb = new StringBuilder("Host(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 Host) && C14957gcv.b((Object) getId(), (Object) ((Host) obj).getId());
|
||
|
}
|
||
|
|
||
|
public final Host copy(String str) {
|
||
|
C14957gcv.e(str, "");
|
||
|
return new Host(str);
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return getId();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ Host copy$default(Host host, String str, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
str = host.getId();
|
||
|
}
|
||
|
return host.copy(str);
|
||
|
}
|
||
|
}
|