private boolean isThreeOfkind(){
		int cnt=0,rID=0,sID=0;
		boolean first=true;
		for (int i = 0; i < crds.size()-1; i++) {			
			rID=crds.get(i).getRankID();
			if(crds.get(i).getRankID()==crds.get(i+1).getRankID()){
				System.out.println("matched "+crds.get(i+1).getRankID() );
				if(sID!=crds.get(i).getRankID()){
					first=true;
					cnt=0;
				}
				if(first||(rID==crds.get(i).getRankID()&&sID==crds.get(i).getRankID())){
					cnt++;					
					System.out.println("cnt ="+cnt);
					sID=crds.get(i).getRankID();
				}
				if(cnt==2){
					System.out.println("three of kind matched*********************************");
					return true;
				}
				
			}
		}
		return false;
	}