/** * @param character * @return the value of the specified char. */ public static int getLetterValue(char character) { final Letter letter = getLetter(character); return letter == null ? 1 : letter.getValue(); }