package P;

import android.text.TextUtils;
import android.view.View;

/* JADX INFO: loaded from: classes.dex */
public final class D extends F {

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

    public D(int i, Class cls, int i5, int i6, int i7) {
        this.f2379e = i7;
        this.f2381a = i;
        this.f2384d = cls;
        this.f2383c = i5;
        this.f2382b = i6;
    }

    @Override // P.F
    public final Object b(View view) {
        switch (this.f2379e) {
            case 0:
                return L.a(view);
            case 1:
                return N.b(view);
            default:
                return Boolean.valueOf(L.b(view));
        }
    }

    @Override // P.F
    public final void c(View view, Object obj) {
        switch (this.f2379e) {
            case 0:
                L.e(view, (CharSequence) obj);
                break;
            case 1:
                N.c(view, (CharSequence) obj);
                break;
            default:
                L.d(view, ((Boolean) obj).booleanValue());
                break;
        }
    }

    @Override // P.F
    public final boolean e(Object obj, Object obj2) {
        switch (this.f2379e) {
            case 0:
                return !TextUtils.equals((CharSequence) obj, (CharSequence) obj2);
            case 1:
                return !TextUtils.equals((CharSequence) obj, (CharSequence) obj2);
            default:
                Boolean bool = (Boolean) obj;
                Boolean bool2 = (Boolean) obj2;
                return !((bool != null && bool.booleanValue()) == (bool2 != null && bool2.booleanValue()));
        }
    }
}
