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–177 unchanged (177 lines)
178 public boolean isSupportLowerBoundInclusive() {
179 return true;
180 }
181
182 /** {@inheritDoc} */
183 public boolean isSupportUpperBoundInclusive() {
184 return false;
185 }
186
187 /**
188 * {@inheritDoc}
189 *
190 * The support of this distribution is connected.
…lines 191–205 unchanged (15 lines)

After

…lines 1–177 unchanged (177 lines)
178 public boolean isSupportLowerBoundInclusive() {
179 return true;
180 }
181
182 /** {@inheritDoc} */
183 public boolean isSupportUpperBoundInclusive() {
184 return true;
185 }
186
187 /**
188 * {@inheritDoc}
189 *
190 * The support of this distribution is connected.
…lines 191–205 unchanged (15 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
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "distribution"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NumberIsTooLargeException"
; ";"
import_declaration (+22 nodes collapsed)
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "random"
. "."
identifier "RandomGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "random"
. "."
identifier "Well19937c"
; ";"
block_comment "/**\n * Implementation of the uniform real distribution.\n *\n "...
class_declaration
modifiers
public "public"
class "class"
identifier "UniformRealDistribution"
superclass
extends "extends"
type_identifier "AbstractRealDistribution"
class_body
{ "{"
block_comment "/** Default inverse cumulative probability accuracy. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_INVERSE_ABSOLUTE_ACCURACY"
= "="
decimal_floating_point_literal "1e-9"
; ";"
block_comment "/** Serializable version identifier. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "20120109L"
; ";"
block_comment "/** Lower bound of this distribution (inclusive). */"
field_declaration
modifiers
private "private"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "lower"
; ";"
block_comment "/** Upper bound of this distribution (exclusive). */"
field_declaration
modifiers
private "private"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "upper"
; ";"
block_comment "/** Inverse cumulative probability accuracy. */"
field_declaration
modifiers
private "private"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "solverAbsoluteAccuracy"
; ";"
block_comment "/**\n * Create a standard uniform real distribution with "...
constructor_declaration
modifiers
public "public"
identifier "UniformRealDistribution"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
this "this"
argument_list
( "("
decimal_integer_literal "0"
, ","
decimal_integer_literal "1"
) ")"
; ";"
} "}"
block_comment "/**\n * Create a uniform real distribution using the give"...
constructor_declaration (+33 nodes collapsed)
block_comment "/**\n * Create a uniform distribution.\n *\n * @par"...
constructor_declaration (+45 nodes collapsed)
block_comment "/**\n * Creates a uniform distribution.\n *\n * @pa"...
constructor_declaration (+93 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+51 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+67 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
protected "protected"
floating_point_type
double "double"
identifier "getSolverAbsoluteAccuracy"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "solverAbsoluteAccuracy"
; ";"
} "}"
block_comment "/**\n * {@inheritDoc}\n *\n * For lower bound {@cod"...
method_declaration (+25 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n *\n * For lower bound {@cod"...
method_declaration (+33 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n *\n * The lower bound of th"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getSupportLowerBound"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "lower"
; ";"
} "}"
block_comment "/**\n * {@inheritDoc}\n *\n * The upper bound of th"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getSupportUpperBound"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "upper"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isSupportLowerBoundInclusive"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isSupportUpperBoundInclusive"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
false "false"
; ";"
} "}"
block_comment "/**\n * {@inheritDoc}\n *\n * The support of this d"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isSupportConnected"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration (+50 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
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "distribution"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NumberIsTooLargeException"
; ";"
import_declaration (+22 nodes collapsed)
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "random"
. "."
identifier "RandomGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "random"
. "."
identifier "Well19937c"
; ";"
block_comment "/**\n * Implementation of the uniform real distribution.\n *\n "...
class_declaration
modifiers
public "public"
class "class"
identifier "UniformRealDistribution"
superclass
extends "extends"
type_identifier "AbstractRealDistribution"
class_body
{ "{"
block_comment "/** Default inverse cumulative probability accuracy. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_INVERSE_ABSOLUTE_ACCURACY"
= "="
decimal_floating_point_literal "1e-9"
; ";"
block_comment "/** Serializable version identifier. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "20120109L"
; ";"
block_comment "/** Lower bound of this distribution (inclusive). */"
field_declaration
modifiers
private "private"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "lower"
; ";"
block_comment "/** Upper bound of this distribution (exclusive). */"
field_declaration
modifiers
private "private"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "upper"
; ";"
block_comment "/** Inverse cumulative probability accuracy. */"
field_declaration
modifiers
private "private"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "solverAbsoluteAccuracy"
; ";"
block_comment "/**\n * Create a standard uniform real distribution with "...
constructor_declaration
modifiers
public "public"
identifier "UniformRealDistribution"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
this "this"
argument_list
( "("
decimal_integer_literal "0"
, ","
decimal_integer_literal "1"
) ")"
; ";"
} "}"
block_comment "/**\n * Create a uniform real distribution using the give"...
constructor_declaration (+33 nodes collapsed)
block_comment "/**\n * Create a uniform distribution.\n *\n * @par"...
constructor_declaration (+45 nodes collapsed)
block_comment "/**\n * Creates a uniform distribution.\n *\n * @pa"...
constructor_declaration (+93 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+51 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+67 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
protected "protected"
floating_point_type
double "double"
identifier "getSolverAbsoluteAccuracy"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "solverAbsoluteAccuracy"
; ";"
} "}"
block_comment "/**\n * {@inheritDoc}\n *\n * For lower bound {@cod"...
method_declaration (+25 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n *\n * For lower bound {@cod"...
method_declaration (+33 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n *\n * The lower bound of th"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getSupportLowerBound"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "lower"
; ";"
} "}"
block_comment "/**\n * {@inheritDoc}\n *\n * The upper bound of th"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getSupportUpperBound"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "upper"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isSupportLowerBoundInclusive"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isSupportUpperBoundInclusive"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
block_comment "/**\n * {@inheritDoc}\n *\n * The support of this d"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isSupportConnected"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration (+50 nodes collapsed)
} "}"