private int getCriteriumValue(PokerHandName handName, byte[] cards) {
		switch (handName) {
		case STRAIGHT_FLUSH:
			return straightFlashValue(cards);
		case QUADS:
			return quadsValue(cards);
		case FULL_HOUSE:
			return fullHouseValue(cards);
		case FLUSH:
			return flushValue(cards);
		case STRAIGHT:
			return straightValue(cards);
		case THREE_OF_A_KIND:
			return threeOfAKindValue(cards);
		case PAIR_OR_PAIRS:
			return pairOrPairsValue(cards);
		case NOTHING:
			return nothingValue(cards);
		default:
			throw new IllegalAccessError();
		}
	}