package com.ss.android.ugc.aweme.services;

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class PluginDownloading extends PluginState {
    public final long currentDownload;
    public final long total;

    static {
        Covode.recordClassIndex(105148);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_services_PluginDownloading_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(long j) {
        return (int) (j ^ (j >>> 32));
    }

    public static /* synthetic */ PluginDownloading copy$default(PluginDownloading pluginDownloading, long j, long j2, int i, Object obj) {
        if ((i & 1) != 0) {
            j = pluginDownloading.currentDownload;
        }
        if ((i & 2) != 0) {
            j2 = pluginDownloading.total;
        }
        return pluginDownloading.copy(j, j2);
    }

    private Object[] getObjects() {
        return new Object[]{Long.valueOf(this.currentDownload), Long.valueOf(this.total)};
    }

    public final PluginDownloading copy(long j, long j2) {
        return new PluginDownloading(j, j2);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PluginDownloading)) {
            return false;
        }
        return M12.LIZ(((PluginDownloading) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("PluginDownloading:%s,%s", getObjects());
    }

    public final long getCurrentDownload() {
        return this.currentDownload;
    }

    public final long getTotal() {
        return this.total;
    }

    public PluginDownloading(long j, long j2) {
        super((2HN) null);
        this.currentDownload = j;
        this.total = j2;
    }
}
