static int query ( int x ) {
  if ( hm . containsKey ( x ) ) return hm . get ( x ) ;
  return 0 ;
}

static int query ( int x ) { if ( hm . containsKey ( x ) ) return hm . get ( x ) ; return 0 ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) consequence: (return_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))) (return_statement (decimal_integer_literal))))