public static ArrayList < Integer > dfs ( ArrayList < ArrayList < Integer >> adj , int j , ArrayList < Integer > list ) {
  list . add ( j ) ;
  ;
}

public static ArrayList < Integer > dfs ( ArrayList < ArrayList < Integer > > adj , int j , ArrayList < Integer > list ) { list . add ( j ) ; ; }
(method_declaration (modifiers) type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier) parameters: (formal_parameters (formal_parameter type: (generic_type (type_identifier) (type_arguments (generic_type (type_identifier) (type_arguments (type_identifier))))) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier))) body: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))