static void generateNumbersUtil ( ) {
  Queue < String > q = new LinkedList < String > ( ) ;
  q . add ( "9" ) ;
  for ( int count = MAX_COUNT ;
  count > 0 ;
  count -- ) {
    String s1 = q . peek ( ) ;
    q . remove ( ) ;
    vec . add ( s1 ) ;
    String s2 = s1 ;
    q . add ( s1 + "0" ) ;
    q . add ( s2 + "9" ) ;
  }
}

static void generateNumbersUtil ( ) { Queue < String > q = new LinkedList < String > ( ) ; q . add ( "9" ) ; for ( int count = MAX_COUNT ; count > 0 ; count -- ) { String s1 = q . peek ( ) ; q . remove ( ) ; vec . add ( s1 ) ; String s2 = s1 ; q . add ( s1 + "0" ) ; q . add ( s2 + "9" ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) body: (block (local_variable_declaration type: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (generic_type (type_identifier) (type_arguments (type_identifier))) arguments: (argument_list)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (identifier))) condition: (binary_expression left: (identifier) right: (decimal_integer_literal)) update: (update_expression (identifier)) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (identifier))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal)))))))))