package com.lynx.tasm.behavior.shadow.text;

import com.bytedance.covode.number.Covode;

public class AbsoluteSizeSpan extends android.text.style.AbsoluteSizeSpan {
    static {
        Covode.recordClassIndex(46553);
    }

    public int hashCode() {
        return ((getDip() ? 1 : 0) * true) + getSize();
    }

    public AbsoluteSizeSpan(int i) {
        super(i);
    }

    public boolean equals(Object obj) {
        if (obj instanceof AbsoluteSizeSpan) {
            AbsoluteSizeSpan absoluteSizeSpan = (AbsoluteSizeSpan) obj;
            if (absoluteSizeSpan.getDip() == getDip() && absoluteSizeSpan.getSize() == getSize()) {
                return true;
            }
            return false;
        }
        return false;
    }
}
