Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–65 unchanged (65 lines)
66 return solve(f, min, max);
67 }
68
69 /** {@inheritDoc} */
70 public double solve(final UnivariateRealFunction f, double min, double max, double initial)
71 throws MaxIterationsExceededException, FunctionEvaluationException {
72 return solve(min, max);
73 }
74
75 /** {@inheritDoc} */
76 public double solve(final UnivariateRealFunction f, double min, double max)
77 throws MaxIterationsExceededException, FunctionEvaluationException {
78
…lines 79–110 unchanged (32 lines)

After

…lines 1–65 unchanged (65 lines)
66 return solve(f, min, max);
67 }
68
69 /** {@inheritDoc} */
70 public double solve(final UnivariateRealFunction f, double min, double max, double initial)
71 throws MaxIterationsExceededException, FunctionEvaluationException {
72 return solve(f, min, max);
73 }
74
75 /** {@inheritDoc} */
76 public double solve(final UnivariateRealFunction f, double min, double max)
77 throws MaxIterationsExceededException, FunctionEvaluationException {
78
…lines 79–110 unchanged (32 lines)

Before

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) under"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "analysis"
. "."
identifier "solvers"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "FunctionEvaluationException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "MaxIterationsExceededException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "analysis"
. "."
identifier "UnivariateRealFunction"
; ";"
block_comment "/**\n * Implements the <a href=\"http://mathworld.wolfram.com/"...
class_declaration
modifiers
public "public"
class "class"
identifier "BisectionSolver"
superclass
extends "extends"
type_identifier "UnivariateRealSolverImpl"
class_body
{ "{"
block_comment "/**\n * Construct a solver for the given function.\n *"...
constructor_declaration (+27 nodes collapsed)
block_comment "/**\n * Construct a solver.\n *\n */"
constructor_declaration
modifiers
public "public"
identifier "BisectionSolver"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
decimal_integer_literal "100"
, ","
decimal_floating_point_literal "1E-6"
) ")"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration (+47 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+42 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "solve"
formal_parameters (+23 nodes collapsed)
throws
throws "throws"
type_identifier "MaxIterationsExceededException"
, ","
type_identifier "FunctionEvaluationException"
block
{ "{"
return_statement
return "return"
method_invocation
identifier "solve"
argument_list
( "("
identifier "min"
, ","
identifier "max"
) ")"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration (+227 nodes collapsed)
} "}"

After

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) under"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "analysis"
. "."
identifier "solvers"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "FunctionEvaluationException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "MaxIterationsExceededException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "analysis"
. "."
identifier "UnivariateRealFunction"
; ";"
block_comment "/**\n * Implements the <a href=\"http://mathworld.wolfram.com/"...
class_declaration
modifiers
public "public"
class "class"
identifier "BisectionSolver"
superclass
extends "extends"
type_identifier "UnivariateRealSolverImpl"
class_body
{ "{"
block_comment "/**\n * Construct a solver for the given function.\n *"...
constructor_declaration (+27 nodes collapsed)
block_comment "/**\n * Construct a solver.\n *\n */"
constructor_declaration
modifiers
public "public"
identifier "BisectionSolver"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
decimal_integer_literal "100"
, ","
decimal_floating_point_literal "1E-6"
) ")"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration (+47 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+42 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "solve"
formal_parameters (+23 nodes collapsed)
throws
throws "throws"
type_identifier "MaxIterationsExceededException"
, ","
type_identifier "FunctionEvaluationException"
block
{ "{"
return_statement
return "return"
method_invocation
identifier "solve"
argument_list
( "("
identifier "f"
, ","
identifier "min"
, ","
identifier "max"
) ")"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration (+227 nodes collapsed)
} "}"