Idle Tower v2.48版本的 MD5 值为:56f20496f6a85726b376356ed2ecee23

以下内容为反编译后的 a.java 源代码,内容仅作参考


package com.applovin.exoplayer2.g.b;

import android.os.Parcel;
import android.os.Parcelable;
import com.applovin.exoplayer2.ac;
import com.applovin.exoplayer2.g.a;
import com.applovin.exoplayer2.l.ai;
import com.applovin.exoplayer2.v;
import com.google.android.exoplayer2.metadata.emsg.EventMessage;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;

public final class a implements a.InterfaceC0035a {

    public final String f592a;
    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];
        }
    };

    @Override
    public void a(ac.a aVar) {
        a.InterfaceC0035a.CC.$default$a(this, aVar);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public a(String str, String str2, long j, long j2, byte[] bArr) {
        this.f592a = str;
        this.b = str2;
        this.c = j;
        this.d = j2;
        this.e = bArr;
    }

    a(Parcel parcel) {
        this.f592a = (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());
    }

    @Override
    public v a() {
        char c;
        String str = this.f592a;
        int hashCode = str.hashCode();
        if (hashCode == -1468477611) {
            if (str.equals(EventMessage.SCTE35_SCHEME_ID)) {
                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(EventMessage.ID3_SCHEME_ID_AOM)) {
                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;
    }

    public int hashCode() {
        if (this.h == 0) {
            String str = this.f592a;
            int hashCode = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + (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 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.f592a, (Object) aVar.f592a) && ai.a((Object) this.b, (Object) aVar.b) && Arrays.equals(this.e, aVar.e);
    }

    public String toString() {
        return "EMSG: scheme=" + this.f592a + ", id=" + this.d + ", durationMs=" + this.c + ", value=" + this.b;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(this.f592a);
        parcel.writeString(this.b);
        parcel.writeLong(this.c);
        parcel.writeLong(this.d);
        parcel.writeByteArray(this.e);
    }
}