package xyz.stream.download;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class c implements u4.c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f36067a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ Integer f36068b;

    public /* synthetic */ c(int i10, Integer num) {
        this.f36067a = i10;
        this.f36068b = num;
    }

    @Override // u4.c
    public final boolean test(Object obj) {
        int i10 = this.f36067a;
        Integer num = this.f36068b;
        switch (i10) {
            case 0:
                DownloadFile downloadFile = (DownloadFile) obj;
                return downloadFile.getEpisodeId() != null ? downloadFile.getEpisodeId().equals(num) : downloadFile.getVideoId().equals(num);
            case 1:
                DownloadFile downloadFile2 = (DownloadFile) obj;
                return downloadFile2.getEpisodeId() != null ? downloadFile2.getEpisodeId().equals(num) : downloadFile2.getVideoId().equals(num);
            default:
                return ((DownloadFile) obj).getId().equals(num);
        }
    }
}
