static int getLeftMostOne ( Queue < Integer > one ) {
  if ( one . isEmpty ( ) ) return - 1 ;
  one . remove ( ) ;
  return 1 ;
}

static int getLeftMostOne ( Queue < Integer > one ) { if ( one . isEmpty ( ) ) return - 1 ; one . remove ( ) ; return 1 ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) consequence: (return_statement (unary_expression operand: (decimal_integer_literal)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (return_statement (decimal_integer_literal))))