static void printSolution ( ArrayList < ArrayList < String >> partitions ) {
  for ( ArrayList < String > i : partitions ) {
    for ( String j : i ) {
      System . out . print ( j + " " ) ;
    }
    System . out . println ( ) ;
  }
}

static void printSolution ( ArrayList < ArrayList < String > > partitions ) { for ( ArrayList < String > i : partitions ) { for ( String j : i ) { System . out . print ( j + " ▁ " ) ; } System . out . println ( ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (generic_type (type_identifier) (type_arguments (generic_type (type_identifier) (type_arguments (type_identifier))))) name: (identifier))) body: (block (enhanced_for_statement type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier) value: (identifier) body: (block (enhanced_for_statement type: (type_identifier) name: (identifier) value: (identifier) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list)))))))