@Override
    public boolean equals(Object c)
    {
        if (c == null) {
            return false;
        }
        
        if (c == this) {
            return true;
        }

        if (! getClass().equals(c.getClass())) {
            return false;
        }

        TexasCombination param = (TexasCombination) c;

        for (int i = 0; i < 7; ++i) {
            if (! cards[i].equals(param.getCard(i))) {
                return false;
            }
        }

        return true;
    }