public static char findLeast ( ArrayList < Character > chars ) {
  char result = 'z' ;
  for ( char c : chars ) {
    if ( c < result ) {
      result = c ;
    }
  }
  return result ;
}

public static char findLeast ( ArrayList < Character > chars ) { char result = ' z ' ; for ( char c : chars ) { if ( c < result ) { result = c ; } } return result ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (character_literal))) (enhanced_for_statement type: (integral_type) name: (identifier) value: (identifier) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (return_statement (identifier))))