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

49 lines
1.5 KiB
Java

package c.i.a.c.x1;
import android.text.TextUtils;
import androidx.annotation.Nullable;
import c.d.b.a.a;
import com.airbnb.lottie.parser.AnimatableValueParser;
import com.google.android.exoplayer2.Format;
import java.util.Objects;
/* compiled from: DecoderReuseEvaluation */
public final class e {
public final String a;
public final Format b;
/* renamed from: c reason: collision with root package name */
public final Format f1010c;
public final int d;
public final int e;
public e(String str, Format format, Format format2, int i, int i2) {
AnimatableValueParser.k(i == 0 || i2 == 0);
if (!TextUtils.isEmpty(str)) {
this.a = str;
Objects.requireNonNull(format);
this.b = format;
this.f1010c = format2;
this.d = i;
this.e = i2;
return;
}
throw new IllegalArgumentException();
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (obj == null || e.class != obj.getClass()) {
return false;
}
e eVar = (e) obj;
return this.d == eVar.d && this.e == eVar.e && this.a.equals(eVar.a) && this.b.equals(eVar.b) && this.f1010c.equals(eVar.f1010c);
}
public int hashCode() {
int m = a.m(this.a, (((this.d + 527) * 31) + this.e) * 31, 31);
return this.f1010c.hashCode() + ((this.b.hashCode() + m) * 31);
}
}