@Override
    public int hashCode() {
        int hash = 7;
        hash = 71 * hash + (this.suit != null ? this.suit.hashCode() : 0);
        hash = 71 * hash + (this.rank != null ? this.rank.hashCode() : 0);
        return hash;
    }