- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
91 lines
2.6 KiB
Java
91 lines
2.6 KiB
Java
package com.mbridge.msdk.playercommon.exoplayer2.metadata;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import androidx.annotation.Nullable;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class Metadata implements Parcelable {
|
|
public static final Parcelable.Creator<Metadata> CREATOR = new Parcelable.Creator<Metadata>() { // from class: com.mbridge.msdk.playercommon.exoplayer2.metadata.Metadata.1
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public Metadata[] newArray(int i) {
|
|
return new Metadata[0];
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public Metadata createFromParcel(Parcel parcel) {
|
|
return new Metadata(parcel);
|
|
}
|
|
};
|
|
private final Entry[] entries;
|
|
|
|
public interface Entry extends Parcelable {
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public Metadata(Entry... entryArr) {
|
|
this.entries = entryArr == null ? new Entry[0] : entryArr;
|
|
}
|
|
|
|
public Metadata(List<? extends Entry> list) {
|
|
if (list == null) {
|
|
this.entries = new Entry[0];
|
|
return;
|
|
}
|
|
Entry[] entryArr = new Entry[list.size()];
|
|
this.entries = entryArr;
|
|
list.toArray(entryArr);
|
|
}
|
|
|
|
public Metadata(Parcel parcel) {
|
|
this.entries = new Entry[parcel.readInt()];
|
|
int i = 0;
|
|
while (true) {
|
|
Entry[] entryArr = this.entries;
|
|
if (i >= entryArr.length) {
|
|
return;
|
|
}
|
|
entryArr[i] = (Entry) parcel.readParcelable(Entry.class.getClassLoader());
|
|
i++;
|
|
}
|
|
}
|
|
|
|
public final int length() {
|
|
return this.entries.length;
|
|
}
|
|
|
|
public final Entry get(int i) {
|
|
return this.entries[i];
|
|
}
|
|
|
|
public final boolean equals(@Nullable Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || Metadata.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
return Arrays.equals(this.entries, ((Metadata) obj).entries);
|
|
}
|
|
|
|
public final int hashCode() {
|
|
return Arrays.hashCode(this.entries);
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeInt(this.entries.length);
|
|
for (Entry entry : this.entries) {
|
|
parcel.writeParcelable(entry, 0);
|
|
}
|
|
}
|
|
}
|