private boolean checkFullHouse(){
        //  XXXYY or YYXXX
        if(((cards.get(0).getValue()==cards.get(1).getValue()) && (cards.get(1).getValue()==cards.get(2).getValue())  && (cards.get(3).getValue()==cards.get(4).getValue()))
                || ((cards.get(0).getValue()==cards.get(1).getValue()) && (cards.get(2).getValue()==cards.get(3).getValue()) && (cards.get(3).getValue()==cards.get(4).getValue())))
            return true;
        return false;
    }