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

73 lines
1.6 KiB
Java

package c.i.a.c.d2;
import androidx.annotation.Nullable;
/* compiled from: MediaPeriodId */
public class w {
public final Object a;
public final int b;
/* renamed from: c reason: collision with root package name */
public final int f810c;
public final long d;
public final int e;
public w(w wVar) {
this.a = wVar.a;
this.b = wVar.b;
this.f810c = wVar.f810c;
this.d = wVar.d;
this.e = wVar.e;
}
public w(Object obj) {
this.a = obj;
this.b = -1;
this.f810c = -1;
this.d = -1;
this.e = -1;
}
public w(Object obj, int i, int i2, long j) {
this.a = obj;
this.b = i;
this.f810c = i2;
this.d = j;
this.e = -1;
}
public w(Object obj, int i, int i2, long j, int i3) {
this.a = obj;
this.b = i;
this.f810c = i2;
this.d = j;
this.e = i3;
}
public w(Object obj, long j, int i) {
this.a = obj;
this.b = -1;
this.f810c = -1;
this.d = j;
this.e = i;
}
public boolean a() {
return this.b != -1;
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof w)) {
return false;
}
w wVar = (w) obj;
return this.a.equals(wVar.a) && this.b == wVar.b && this.f810c == wVar.f810c && this.d == wVar.d && this.e == wVar.e;
}
public int hashCode() {
return ((((((((this.a.hashCode() + 527) * 31) + this.b) * 31) + this.f810c) * 31) + ((int) this.d)) * 31) + this.e;
}
}