package com.chartboost.sdk.impl;

import android.view.ViewGroup;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes2.dex */
public final class w {

    /* renamed from: a  reason: collision with root package name */
    public final ViewGroup f1847a;
    public final int b;
    public final int c;

    public w(ViewGroup bannerView, int i, int i2) {
        Intrinsics.checkNotNullParameter(bannerView, "bannerView");
        this.f1847a = bannerView;
        this.b = i;
        this.c = i2;
    }

    public final int a() {
        return this.c;
    }

    public final ViewGroup b() {
        return this.f1847a;
    }

    public final int c() {
        return this.b;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof w) {
            w wVar = (w) obj;
            return Intrinsics.areEqual(this.f1847a, wVar.f1847a) && this.b == wVar.b && this.c == wVar.c;
        }
        return false;
    }

    public int hashCode() {
        return (((this.f1847a.hashCode() * 31) + Integer.hashCode(this.b)) * 31) + Integer.hashCode(this.c);
    }

    public String toString() {
        ViewGroup viewGroup = this.f1847a;
        int i = this.b;
        return "AdUnitBannerData(bannerView=" + viewGroup + ", bannerWidth=" + i + ", bannerHeight=" + this.c + ")";
    }
}
