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