public static List < String > process ( int H , int W , List < String > a ) {
  final List < String > removedBlankRows = a . stream ( ) . filter ( Main :: keepRowWithAnyBlack ) . collect ( Collectors . toList ( ) ) ;
  final List < String > transposed = transpose ( removedBlankRows ) ;
  final List < String > compressedTranspose = transposed . stream ( ) . filter ( Main :: keepRowWithAnyBlack ) . collect ( Collectors . toList ( ) ) ;
  return transpose ( compressedTranspose ) ;
}

public static List < String > process ( int H , int W , List < String > a ) { final List < String > removedBlankRows = a . stream ( ) . filter ( Main :: keepRowWithAnyBlack ) . collect ( Collectors . toList ( ) ) ; final List < String > transposed = transpose ( removedBlankRows ) ; final List < String > compressedTranspose = transposed . stream ( ) . filter ( Main :: keepRowWithAnyBlack ) . collect ( Collectors . toList ( ) ) ; return transpose ( compressedTranspose ) ; }
(method_declaration (modifiers) type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier))) body: (block (local_variable_declaration (modifiers) type: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (method_reference (identifier) (identifier)))) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (local_variable_declaration (modifiers) type: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) (local_variable_declaration (modifiers) type: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (method_reference (identifier) (identifier)))) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (return_statement (method_invocation name: (identifier) arguments: (argument_list (identifier))))))