package com.bytedance.adsdk.ro.lb;

import android.util.Pair;

/* JADX INFO: loaded from: classes.dex */
public class wsy<T> {
    T fm;
    T ro;

    private static boolean ro(Object obj, Object obj2) {
        if (obj != obj2) {
            return obj != null && obj.equals(obj2);
        }
        return true;
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof Pair)) {
            return false;
        }
        Pair pair = (Pair) obj;
        return ro(pair.first, this.fm) && ro(pair.second, this.ro);
    }

    public void fm(T t10, T t11) {
        this.fm = t10;
        this.ro = t11;
    }

    public int hashCode() {
        T t10 = this.fm;
        int iHashCode = t10 == null ? 0 : t10.hashCode();
        T t11 = this.ro;
        return iHashCode ^ (t11 != null ? t11.hashCode() : 0);
    }

    public String toString() {
        return "Pair{" + this.fm + " " + this.ro + "}";
    }
}
