discord-jadx/app/src/main/java/c/i/a/c/y0.java

53 lines
1.7 KiB
Java

package c.i.a.c;
import androidx.annotation.Nullable;
import c.i.a.c.d2.y;
import c.i.a.c.i2.f0;
/* compiled from: MediaPeriodInfo */
public final class y0 {
public final y.a a;
public final long b;
/* renamed from: c reason: collision with root package name */
public final long f1012c;
public final long d;
public final long e;
public final boolean f;
public final boolean g;
public final boolean h;
public y0(y.a aVar, long j, long j2, long j3, long j4, boolean z2, boolean z3, boolean z4) {
this.a = aVar;
this.b = j;
this.f1012c = j2;
this.d = j3;
this.e = j4;
this.f = z2;
this.g = z3;
this.h = z4;
}
public y0 a(long j) {
return j == this.f1012c ? this : new y0(this.a, this.b, j, this.d, this.e, this.f, this.g, this.h);
}
public y0 b(long j) {
return j == this.b ? this : new y0(this.a, j, this.f1012c, this.d, this.e, this.f, this.g, this.h);
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (obj == null || y0.class != obj.getClass()) {
return false;
}
y0 y0Var = (y0) obj;
return this.b == y0Var.b && this.f1012c == y0Var.f1012c && this.d == y0Var.d && this.e == y0Var.e && this.f == y0Var.f && this.g == y0Var.g && this.h == y0Var.h && f0.a(this.a, y0Var.a);
}
public int hashCode() {
return ((((((((((((((this.a.hashCode() + 527) * 31) + ((int) this.b)) * 31) + ((int) this.f1012c)) * 31) + ((int) this.d)) * 31) + ((int) this.e)) * 31) + (this.f ? 1 : 0)) * 31) + (this.g ? 1 : 0)) * 31) + (this.h ? 1 : 0);
}
}