<commit_before>package org.mskcc.cbio.oncokb.apiModels;

/**
 * Created by <NAME> on 2/13/18.
 */
public class MatchVariant implements java.io.Serializable {
    String hugoSymbol;
    String alteration;

    public String getHugoSymbol() {
        return hugoSymbol;
    }

    public void setHugoSymbol(String hugoSymbol) {
        this.hugoSymbol = hugoSymbol;
    }

    public String getAlteration() {
        return alteration;
    }

    public void setAlteration(String alteration) {
        this.alteration = alteration;
    }
}
<commit_msg>Add equals and hashCode methods for MatchVariant<commit_after>package org.mskcc.cbio.oncokb.apiModels;

/**
 * Created by <NAME> on 2/13/18.
 */
public class MatchVariant implements java.io.Serializable {
    String hugoSymbol;
    String alteration;

    public String getHugoSymbol() {
        return hugoSymbol;
    }

    public void setHugoSymbol(String hugoSymbol) {
        this.hugoSymbol = hugoSymbol;
    }

    public String getAlteration() {
        return alteration;
    }

    public void setAlteration(String alteration) {
        this.alteration = alteration;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof MatchVariant)) return false;

        MatchVariant that = (MatchVariant) o;

        if (getHugoSymbol() != null ? !getHugoSymbol().equals(that.getHugoSymbol()) : that.getHugoSymbol() != null)
            return false;
        return getAlteration() != null ? getAlteration().equals(that.getAlteration()) : that.getAlteration() == null;
    }

    @Override
    public int hashCode() {
        int result = getHugoSymbol() != null ? getHugoSymbol().hashCode() : 0;
        result = 31 * result + (getAlteration() != null ? getAlteration().hashCode() : 0);
        return result;
    }
}

{'fraction_non_alphanumeric': 0.10729847494553377, 'fraction_numerical': 0.007625272331154684, 'mean_word_length': 2.779835390946502, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3403383', 'n_tokens_mistral': 586, 'n_tokens_neox': 545, 'n_words': 135}