public HandType getType() {
		if(hasStraight() && hasFlush())
			return HandType.STRAIGHT_FLUSH;
		else if (hasQuads())
			return HandType.QUADS;
		else if(hasFullHouse())
			return HandType.FULL_HOUSE;
		else if (hasFlush())
			return HandType.FLUSH;
		else if (hasStraight())
			return HandType.STRAIGHT;
		else if (hasThreeOfAKind())
			return HandType.THREE_OF_A_KIND;
		else if (hasTwoPair())
			return HandType.TWO_PAIR;
		else if (hasPair())
			return HandType.ONE_PAIR;
		else
			return HandType.HIGH_CARD;
	}