static boolean checkpair ( int a , int b ) {
  if ( a > b ) {
    int temp = a ;
    a = b ;
    b = temp ;
  }
  return ( map . containsKey ( a ) && map . get ( a ) . contains ( b ) ) ;
}

static boolean checkpair ( int a , int b ) { if ( a > b ) { int temp = a ; a = b ; b = temp ; } return ( map . containsKey ( a ) && map . get ( a ) . contains ( b ) ) ; }
(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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) right: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) name: (identifier) arguments: (argument_list (identifier))))))))