private static void getMinRadius ( ArrayList < Integer > firstInput , ArrayList < Integer > secondInput ) {
  double eucledianDistance = getEucledianDistance ( firstInput , secondInput ) ;
  double diameter = eucledianDistance - ( firstInput . get ( 2 ) + secondInput . get ( 2 ) ) ;
  double radius = diameter / 2.0 ;
  if ( radius <= 0 ) {
    if ( Math . max ( firstInput . get ( 2 ) , secondInput . get ( 2 ) ) > eucledianDistance + Math . min ( firstInput . get ( 2 ) , secondInput . get ( 2 ) ) ) {
      System . out . printf ( "%.15f" , Math . abs ( radius ) - Math . min ( firstInput . get ( 2 ) , secondInput . get ( 2 ) ) ) ;
    }
    else {
      System . out . printf ( "%.15f" , 0f ) ;
    }
  }
  else {
    System . out . printf ( "%.15f" , radius ) ;
  }
}

private static void getMinRadius ( ArrayList < Integer > firstInput , ArrayList < Integer > secondInput ) { double eucledianDistance = getEucledianDistance ( firstInput , secondInput ) ; double diameter = eucledianDistance - ( firstInput . get ( 2 ) + secondInput . get ( 2 ) ) ; double radius = diameter / 2.0 ; if ( radius <= 0 ) { if ( Math . max ( firstInput . get ( 2 ) , secondInput . get ( 2 ) ) > eucledianDistance + Math . min ( firstInput . get ( 2 ) , secondInput . get ( 2 ) ) ) { System . out . printf ( " % .15f " , Math . abs ( radius ) - Math . min ( firstInput . get ( 2 ) , secondInput . get ( 2 ) ) ) ; } else { System . out . printf ( " % .15f " , 0f ) ; } } else { System . out . printf ( " % .15f " , radius ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier)) (formal_parameter type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier))) body: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal)))))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (decimal_floating_point_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (block (if_statement condition: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))))) right: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal)))))))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal) (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal)))))))))) alternative: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal) (decimal_floating_point_literal))))))) alternative: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal) (identifier))))))))