private boolean straightCheck() {
		//Stops if there are any pairs, returns false
		for (int r = 0; r<4; r++) {
			if (hand[r].getRank()==hand[r+1].getRank())
				return false;	
		}
		
		//By this point, know there are no pairs and the hand is sorted, so this block just compares the
		//first and last rank for their spacing
		if (hand[0].getRank()==(hand[4].getRank()-4))
			return true;
		
		//This catches the possibility of an ace-low straight
		if ((hand[0].getRank()==2)&&(hand[3].getRank()==5)&&(hand[3].getRank()==14))
			return true;
		
		//If there is neither, returns false
		return false;
	}