/** * Returns the potential value as a double in one situation * * <p>This method should be used to calculate the potential value. * * @return the potential value in one situation */ private double calculateHandValue(Hand newHand) { HandEvaluator evaluator = new HandEvaluator(newHand); int cardValue = evaluator.getValue(); return cardValue; }