@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        ElementScore elementScore = (ElementScore) o;

        if (element != null ? !element.equals(elementScore.element) : elementScore.element != null) return false;
        if (score != null ? !score.equals(elementScore.score) : elementScore.score != null) return false;

        return true;
    }