public static void main ( String [ ] args ) {
  Point points [ ] = new Point [ 7 ] ;
  points [ 0 ] = new Point ( 0 , 3 ) ;
  points [ 1 ] = new Point ( 2 , 3 ) ;
  points [ 2 ] = new Point ( 1 , 1 ) ;
  points [ 3 ] = new Point ( 2 , 1 ) ;
  points [ 4 ] = new Point ( 3 , 0 ) ;
  points [ 5 ] = new Point ( 0 , 0 ) ;
  points [ 6 ] = new Point ( 3 , 3 ) ;
  int n = points . length ;
  convexHull ( points , n ) ;
}

public static void main ( String [ ] args ) { Point points [ ] = new Point [ 7 ] ; points [ 0 ] = new Point ( 0 , 3 ) ; points [ 1 ] = new Point ( 2 , 3 ) ; points [ 2 ] = new Point ( 1 , 1 ) ; points [ 3 ] = new Point ( 2 , 1 ) ; points [ 4 ] = new Point ( 3 , 0 ) ; points [ 5 ] = new Point ( 0 , 0 ) ; points [ 6 ] = new Point ( 3 , 3 ) ; int n = points . length ; convexHull ( points , n ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) dimensions: (dimensions) value: (array_creation_expression type: (type_identifier) dimensions: (dimensions_expr (decimal_integer_literal))))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (field_access object: (identifier) field: (identifier)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier))))))