private static boolean dfs ( int d , int x ) {
  return d == n ? x == 0 : IntStream . range ( 0 , k ) . anyMatch ( i -> dfs ( d + 1 , x ^ a [ d ] [ i ] ) ) ;
}

private static boolean dfs ( int d , int x ) { return d == n ? x == 0 : IntStream . range ( 0 , k ) . anyMatch ( i -> dfs ( d + 1 , x ^ a [ d ] [ i ] ) ) ; }
(method_declaration (modifiers) type: (boolean_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (ternary_expression condition: (binary_expression left: (identifier) right: (identifier)) consequence: (binary_expression left: (identifier) right: (decimal_integer_literal)) alternative: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (identifier))) name: (identifier) arguments: (argument_list (lambda_expression parameters: (identifier) body: (method_invocation name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (decimal_integer_literal)) (binary_expression left: (identifier) right: (array_access array: (array_access array: (identifier) index: (identifier)) index: (identifier))))))))))))