package com.ss.android.ugc.aweme.discover.model;

import X.AnonymousClass2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

public final class CorrectHighlightPositions implements Serializable {
    public final List<CorrectPosition> positions;

    static {
        Covode.recordClassIndex(65134);
    }

    public CorrectHighlightPositions() {
        this((List) null, 1, (AnonymousClass2HN) null);
    }

    public static /* synthetic */ CorrectHighlightPositions copy$default(CorrectHighlightPositions correctHighlightPositions, List<CorrectPosition> list, int i, Object obj) {
        if ((i & 1) != 0) {
            list = correctHighlightPositions.positions;
        }
        return correctHighlightPositions.copy(list);
    }

    private Object[] getObjects() {
        return new Object[]{this.positions};
    }

    public final CorrectHighlightPositions copy(List<CorrectPosition> list) {
        M12.LIZ(list);
        return new CorrectHighlightPositions(list);
    }

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

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

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

    public final List<CorrectPosition> getPositions() {
        return this.positions;
    }

    public final boolean hasHighlightPosition() {
        if (!this.positions.isEmpty()) {
            return true;
        }
        return false;
    }

    public CorrectHighlightPositions(List<CorrectPosition> list) {
        M12.LIZ(list);
        this.positions = list;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ CorrectHighlightPositions(List list, int i, AnonymousClass2HN r4) {
        this((i & 1) != 0 ? new ArrayList() : list);
    }
}
