MD5 校验值:c9acc583577d8b1a394e7959c947bec3
a.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package com.applovin.exoplayer2.g.b; import android.os.Parcel; import android.os.Parcelable; import com.applovin.exoplayer2.g.a; import com.applovin.exoplayer2.l.ai; import com.applovin.exoplayer2.v; import java.util.Arrays; public final class a implements a.InterfaceC0026a { public final String a; public final String b; public final long c; public final long d; public final byte[] e; private int h; private static final v f = new v.a().f("application/id3").a(); private static final v g = new v.a().f("application/x-scte35").a(); public static final Parcelable.Creator<a> CREATOR = new Parcelable.Creator<a>() { @Override public a createFromParcel(Parcel parcel) { return new a(parcel); } @Override public a[] newArray(int i) { return new a[i]; } }; a(Parcel parcel) { this.a = (String) ai.a(parcel.readString()); this.b = (String) ai.a(parcel.readString()); this.c = parcel.readLong(); this.d = parcel.readLong(); this.e = (byte[]) ai.a(parcel.createByteArray()); } public a(String str, String str2, long j, long j2, byte[] bArr) { this.a = str; this.b = str2; this.c = j; this.d = j2; this.e = bArr; } @Override public v a() { char c; String str = this.a; int hashCode = str.hashCode(); if (hashCode == -1468477611) { if (str.equals("urn:scte:scte35:2014:bin")) { c = 2; } c = 65535; } else if (hashCode != -795945609) { if (hashCode == 1303648457 && str.equals("https://developer.apple.com/streaming/emsg-id3")) { c = 1; } c = 65535; } else { if (str.equals("https://aomedia.org/emsg/ID3")) { c = 0; } c = 65535; } if (c == 0 || c == 1) { return f; } if (c != 2) { return null; } return g; } @Override public byte[] b() { if (a() != null) { return this.e; } return null; } @Override public int describeContents() { return 0; } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } a aVar = (a) obj; return this.c == aVar.c && this.d == aVar.d && ai.a((Object) this.a, (Object) aVar.a) && ai.a((Object) this.b, (Object) aVar.b) && Arrays.equals(this.e, aVar.e); } public int hashCode() { if (this.h == 0) { String str = this.a; int hashCode = (527 + (str != null ? str.hashCode() : 0)) * 31; String str2 = this.b; int hashCode2 = str2 != null ? str2.hashCode() : 0; long j = this.c; int i = (((hashCode + hashCode2) * 31) + ((int) (j ^ (j >>> 32)))) * 31; long j2 = this.d; this.h = ((i + ((int) (j2 ^ (j2 >>> 32)))) * 31) + Arrays.hashCode(this.e); } return this.h; } public String toString() { return "EMSG: scheme=" + this.a + ", id=" + this.d + ", durationMs=" + this.c + ", value=" + this.b; } @Override public void writeToParcel(Parcel parcel, int i) { parcel.writeString(this.a); parcel.writeString(this.b); parcel.writeLong(this.c); parcel.writeLong(this.d); parcel.writeByteArray(this.e); } }