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–149 unchanged (149 lines)
150 int r = this.data.getRowIndex(rowKey);
151 int c = this.data.getColumnIndex(columnKey);
152 if ((this.maximumRangeValueRow == r && this.maximumRangeValueColumn
153 == c) || (this.minimumRangeValueRow == r
154 && this.minimumRangeValueColumn == c)) {
155 updateBounds();
156 }
157
158 double minval = Double.NaN;
159 if (item.getMinOutlier() != null) {
160 minval = item.getMinOutlier().doubleValue();
161 }
162 double maxval = Double.NaN;
…lines 163–180 unchanged (18 lines)
181 this.minimumRangeValueColumn = c;
182 }
183 else if (minval < this.minimumRangeValue) {
184 this.minimumRangeValue = minval;
185 this.minimumRangeValueRow = r;
186 this.minimumRangeValueColumn = c;
187 }
188
189 this.rangeBounds = new Range(this.minimumRangeValue,
190 this.maximumRangeValue);
191 fireDatasetChanged();
192
193 }
…lines 194–733 unchanged (540 lines)
734
735 /**
736 * Resets the cached bounds, by iterating over the entire dataset to find
737 * the current bounds.
738 */
739 private void updateBounds() {
740 this.minimumRangeValue = Double.NaN;
741 this.maximumRangeValue = Double.NaN;
742 }
743
744 /**
745 * Tests this dataset for equality with an arbitrary object.
746 *
747 * @param obj the object to test against (<code>null</code> permitted).
…lines 748–778 unchanged (31 lines)

After

…lines 1–150 unchanged (150 lines)
151 int c = this.data.getColumnIndex(columnKey);
152 if ((this.maximumRangeValueRow == r && this.maximumRangeValueColumn
153 == c) || (this.minimumRangeValueRow == r
154 && this.minimumRangeValueColumn == c)) {
155 updateBounds();
156 }
157 else {
158
159 double minval = Double.NaN;
160 if (item.getMinOutlier() != null) {
161 minval = item.getMinOutlier().doubleValue();
162 }
163 double maxval = Double.NaN;
…lines 164–182 unchanged (19 lines)
183 }
184 else if (minval < this.minimumRangeValue) {
185 this.minimumRangeValue = minval;
186 this.minimumRangeValueRow = r;
187 this.minimumRangeValueColumn = c;
188 }
189 }
190
191 this.rangeBounds = new Range(this.minimumRangeValue,
192 this.maximumRangeValue);
193 fireDatasetChanged();
194
195 }
…lines 196–736 unchanged (541 lines)
737 /**
738 * Resets the cached bounds, by iterating over the entire dataset to find
739 * the current bounds.
740 */
741 private void updateBounds() {
742 this.minimumRangeValue = Double.NaN;
743 this.minimumRangeValueRow = -1;
744 this.minimumRangeValueColumn = -1;
745 this.maximumRangeValue = Double.NaN;
746 this.maximumRangeValueRow = -1;
747 this.maximumRangeValueColumn = -1;
748 int rowCount = getRowCount();
749 int columnCount = getColumnCount();
750 for (int r = 0; r < rowCount; r++) {
751 for (int c = 0; c < columnCount; c++) {
752 BoxAndWhiskerItem item = getItem(r, c);
753 if (item != null) {
754 Number min = item.getMinOutlier();
755 if (min != null) {
756 double minv = min.doubleValue();
757 if (!Double.isNaN(minv)) {
758 if (minv < this.minimumRangeValue || Double.isNaN(
759 this.minimumRangeValue)) {
760 this.minimumRangeValue = minv;
761 this.minimumRangeValueRow = r;
762 this.minimumRangeValueColumn = c;
763 }
764 }
765 }
766 Number max = item.getMaxOutlier();
767 if (max != null) {
768 double maxv = max.doubleValue();
769 if (!Double.isNaN(maxv)) {
770 if (maxv > this.maximumRangeValue || Double.isNaN(
771 this.maximumRangeValue)) {
772 this.maximumRangeValue = maxv;
773 this.maximumRangeValueRow = r;
774 this.maximumRangeValueColumn = c;
775 }
776 }
777 }
778 }
779 }
780 }
781 }
782
783 /**
784 * Tests this dataset for equality with an arbitrary object.
785 *
786 * @param obj the object to test against (<code>null</code> permitted).
…lines 787–817 unchanged (31 lines)

Before

program
block_comment "/* ========================================================="...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "statistics"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "ObjectUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "PublicCloneable"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "KeyedObjects2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "Range"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "RangeInfo"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "AbstractDataset"
; ";"
block_comment "/**\r\n * A convenience class that provides a default implemen"...
class_declaration
modifiers
public "public"
class "class"
identifier "DefaultBoxAndWhiskerCategoryDataset"
superclass
extends "extends"
type_identifier "AbstractDataset"
super_interfaces
implements "implements"
type_list
type_identifier "BoxAndWhiskerCategoryDataset"
, ","
type_identifier "RangeInfo"
, ","
type_identifier "PublicCloneable"
class_body
{ "{"
block_comment "/** Storage for the data. */"
field_declaration
modifiers
protected "protected"
type_identifier "KeyedObjects2D"
variable_declarator
identifier "data"
; ";"
block_comment "/** The minimum range value. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "minimumRangeValue"
; ";"
block_comment "/** The row index for the cell that the minimum range value "...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "minimumRangeValueRow"
; ";"
block_comment "/** \r\n * The column index for the cell that the minimum "...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "minimumRangeValueColumn"
; ";"
block_comment "/** The maximum range value. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "maximumRangeValue"
; ";"
block_comment "/** The row index for the cell that the maximum range value "...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "maximumRangeValueRow"
; ";"
block_comment "/** \r\n * The column index for the cell that the maximum "...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "maximumRangeValueColumn"
; ";"
block_comment "/** The range of values. */"
field_declaration
modifiers
private "private"
type_identifier "Range"
variable_declarator
identifier "rangeBounds"
; ";"
block_comment "/**\r\n * Creates a new dataset.\r\n */"
constructor_declaration (+109 nodes collapsed)
block_comment "/**\r\n * Adds a list of values relating to one box-and-wh"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Adds a list of values relating to one Box and Wh"...
method_declaration
modifiers
public "public"
void_type "void"
identifier "add"
formal_parameters
( "("
formal_parameter
type_identifier "BoxAndWhiskerItem"
identifier "item"
, ","
formal_parameter
type_identifier "Comparable"
identifier "rowKey"
, ","
formal_parameter
type_identifier "Comparable"
identifier "columnKey"
) ")"
block
{ "{"
expression_statement
method_invocation
field_access
this "this"
. "."
identifier "data"
. "."
identifier "addObject"
argument_list
( "("
identifier "item"
, ","
identifier "rowKey"
, ","
identifier "columnKey"
) ")"
; ";"
line_comment "// update cached min and max values\r"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "r"
= "="
method_invocation
field_access
this "this"
. "."
identifier "data"
. "."
identifier "getRowIndex"
argument_list
( "("
identifier "rowKey"
) ")"
; ";"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "c"
= "="
method_invocation
field_access
this "this"
. "."
identifier "data"
. "."
identifier "getColumnIndex"
argument_list
( "("
identifier "columnKey"
) ")"
; ";"
if_statement
if "if"
parenthesized_expression (+43 nodes collapsed)
block
{ "{"
expression_statement
method_invocation
identifier "updateBounds"
argument_list
( "("
) ")"
; ";"
} "}"
local_variable_declaration
floating_point_type
double "double"
variable_declarator
identifier "minval"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
if_statement (+36 nodes collapsed)
local_variable_declaration
floating_point_type
double "double"
variable_declarator
identifier "maxval"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
if_statement (+36 nodes collapsed)
if_statement (+89 nodes collapsed)
if_statement (+89 nodes collapsed)
expression_statement (+23 nodes collapsed)
expression_statement
method_invocation
identifier "fireDatasetChanged"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/**\r\n * Return an item from within the dataset.\r\n * "...
method_declaration (+40 nodes collapsed)
block_comment "/**\r\n * Returns the value for an item.\r\n *\r\n * @"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Returns the value for an item.\r\n *\r\n * @"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns the mean value for an item.\r\n * \r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the mean value for an item.\r\n * \r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the median value for an item.\r\n *\r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the median value for an item.\r\n *\r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the first quartile value.\r\n * \r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the first quartile value.\r\n * \r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the third quartile value.\r\n * \r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the third quartile value.\r\n * \r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the column index for a given key.\r\n "...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns a column key.\r\n *\r\n * @param col"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns the column keys.\r\n *\r\n * @return"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the row index for a given key.\r\n *\r\n"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns a row key.\r\n *\r\n * @param row t"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns the row keys.\r\n *\r\n * @return Th"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the number of rows in the table.\r\n *"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the number of columns in the table.\r\n "...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the minimum y-value in the dataset.\r\n "...
method_declaration (+22 nodes collapsed)
block_comment "/**\r\n * Returns the maximum y-value in the dataset.\r\n "...
method_declaration (+22 nodes collapsed)
block_comment "/**\r\n * Returns the range of the values in this dataset'"...
method_declaration (+21 nodes collapsed)
block_comment "/**\r\n * Returns the minimum regular (non outlier) value "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the minimum regular (non outlier) value "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the maximum regular (non outlier) value "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the maximum regular (non outlier) value "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the minimum outlier (non farout) value f"...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the minimum outlier (non farout) value f"...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the maximum outlier (non farout) value f"...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the maximum outlier (non farout) value f"...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns a list of outlier values for an item.\r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns a list of outlier values for an item.\r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Resets the cached bounds, by iterating over the "...
method_declaration
modifiers
private "private"
void_type "void"
identifier "updateBounds"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "minimumRangeValue"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "maximumRangeValue"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
} "}"
block_comment "/**\r\n * Tests this dataset for equality with an arbitrar"...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns a clone of this dataset.\r\n * \r\n "...
method_declaration (+57 nodes collapsed)
} "}"

After

program
block_comment "/* ========================================================="...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "statistics"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "ObjectUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "PublicCloneable"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "KeyedObjects2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "Range"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "RangeInfo"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "AbstractDataset"
; ";"
block_comment "/**\r\n * A convenience class that provides a default implemen"...
class_declaration
modifiers
public "public"
class "class"
identifier "DefaultBoxAndWhiskerCategoryDataset"
superclass
extends "extends"
type_identifier "AbstractDataset"
super_interfaces
implements "implements"
type_list
type_identifier "BoxAndWhiskerCategoryDataset"
, ","
type_identifier "RangeInfo"
, ","
type_identifier "PublicCloneable"
class_body
{ "{"
block_comment "/** Storage for the data. */"
field_declaration
modifiers
protected "protected"
type_identifier "KeyedObjects2D"
variable_declarator
identifier "data"
; ";"
block_comment "/** The minimum range value. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "minimumRangeValue"
; ";"
block_comment "/** The row index for the cell that the minimum range value "...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "minimumRangeValueRow"
; ";"
block_comment "/** \r\n * The column index for the cell that the minimum "...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "minimumRangeValueColumn"
; ";"
block_comment "/** The maximum range value. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "maximumRangeValue"
; ";"
block_comment "/** The row index for the cell that the maximum range value "...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "maximumRangeValueRow"
; ";"
block_comment "/** \r\n * The column index for the cell that the maximum "...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "maximumRangeValueColumn"
; ";"
block_comment "/** The range of values. */"
field_declaration
modifiers
private "private"
type_identifier "Range"
variable_declarator
identifier "rangeBounds"
; ";"
block_comment "/**\r\n * Creates a new dataset.\r\n */"
constructor_declaration (+109 nodes collapsed)
block_comment "/**\r\n * Adds a list of values relating to one box-and-wh"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Adds a list of values relating to one Box and Wh"...
method_declaration
modifiers
public "public"
void_type "void"
identifier "add"
formal_parameters
( "("
formal_parameter
type_identifier "BoxAndWhiskerItem"
identifier "item"
, ","
formal_parameter
type_identifier "Comparable"
identifier "rowKey"
, ","
formal_parameter
type_identifier "Comparable"
identifier "columnKey"
) ")"
block
{ "{"
expression_statement
method_invocation
field_access
this "this"
. "."
identifier "data"
. "."
identifier "addObject"
argument_list
( "("
identifier "item"
, ","
identifier "rowKey"
, ","
identifier "columnKey"
) ")"
; ";"
line_comment "// update cached min and max values\r"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "r"
= "="
method_invocation
field_access
this "this"
. "."
identifier "data"
. "."
identifier "getRowIndex"
argument_list
( "("
identifier "rowKey"
) ")"
; ";"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "c"
= "="
method_invocation
field_access
this "this"
. "."
identifier "data"
. "."
identifier "getColumnIndex"
argument_list
( "("
identifier "columnKey"
) ")"
; ";"
if_statement
if "if"
parenthesized_expression (+43 nodes collapsed)
block
{ "{"
expression_statement
method_invocation
identifier "updateBounds"
argument_list
( "("
) ")"
; ";"
} "}"
else "else"
block
{ "{"
local_variable_declaration
floating_point_type
double "double"
variable_declarator
identifier "minval"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
if_statement (+36 nodes collapsed)
local_variable_declaration
floating_point_type
double "double"
variable_declarator
identifier "maxval"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
if_statement (+36 nodes collapsed)
if_statement (+89 nodes collapsed)
if_statement (+89 nodes collapsed)
} "}"
expression_statement (+23 nodes collapsed)
expression_statement
method_invocation
identifier "fireDatasetChanged"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/**\r\n * Return an item from within the dataset.\r\n * "...
method_declaration (+40 nodes collapsed)
block_comment "/**\r\n * Returns the value for an item.\r\n *\r\n * @"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Returns the value for an item.\r\n *\r\n * @"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns the mean value for an item.\r\n * \r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the mean value for an item.\r\n * \r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the median value for an item.\r\n *\r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the median value for an item.\r\n *\r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the first quartile value.\r\n * \r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the first quartile value.\r\n * \r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the third quartile value.\r\n * \r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the third quartile value.\r\n * \r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the column index for a given key.\r\n "...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns a column key.\r\n *\r\n * @param col"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns the column keys.\r\n *\r\n * @return"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the row index for a given key.\r\n *\r\n"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns a row key.\r\n *\r\n * @param row t"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Returns the row keys.\r\n *\r\n * @return Th"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the number of rows in the table.\r\n *"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the number of columns in the table.\r\n "...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the minimum y-value in the dataset.\r\n "...
method_declaration (+22 nodes collapsed)
block_comment "/**\r\n * Returns the maximum y-value in the dataset.\r\n "...
method_declaration (+22 nodes collapsed)
block_comment "/**\r\n * Returns the range of the values in this dataset'"...
method_declaration (+21 nodes collapsed)
block_comment "/**\r\n * Returns the minimum regular (non outlier) value "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the minimum regular (non outlier) value "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the maximum regular (non outlier) value "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the maximum regular (non outlier) value "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the minimum outlier (non farout) value f"...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the minimum outlier (non farout) value f"...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns the maximum outlier (non farout) value f"...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns the maximum outlier (non farout) value f"...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns a list of outlier values for an item.\r\n "...
method_declaration (+78 nodes collapsed)
block_comment "/**\r\n * Returns a list of outlier values for an item.\r\n "...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Resets the cached bounds, by iterating over the "...
method_declaration
modifiers
private "private"
void_type "void"
identifier "updateBounds"
formal_parameters
( "("
) ")"
block
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "minimumRangeValue"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "minimumRangeValueRow"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "minimumRangeValueColumn"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "maximumRangeValue"
= "="
field_access
identifier "Double"
. "."
identifier "NaN"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "maximumRangeValueRow"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "maximumRangeValueColumn"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "rowCount"
= "="
method_invocation
identifier "getRowCount"
argument_list
( "("
) ")"
; ";"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "columnCount"
= "="
method_invocation
identifier "getColumnCount"
argument_list
( "("
) ")"
; ";"
for_statement
for "for"
( "("
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "r"
= "="
decimal_integer_literal "0"
; ";"
binary_expression
identifier "r"
< "<"
identifier "rowCount"
; ";"
update_expression
identifier "r"
++ "++"
) ")"
block
{ "{"
for_statement
for "for"
( "("
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "c"
= "="
decimal_integer_literal "0"
; ";"
binary_expression
identifier "c"
< "<"
identifier "columnCount"
; ";"
update_expression
identifier "c"
++ "++"
) ")"
block
{ "{"
local_variable_declaration
type_identifier "BoxAndWhiskerItem"
variable_declarator
identifier "item"
= "="
method_invocation
identifier "getItem"
argument_list
( "("
identifier "r"
, ","
identifier "c"
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "item"
!= "!="
null_literal "null"
) ")"
block
{ "{"
local_variable_declaration
type_identifier "Number"
variable_declarator
identifier "min"
= "="
method_invocation
identifier "item"
. "."
identifier "getMinOutlier"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "min"
!= "!="
null_literal "null"
) ")"
block
{ "{"
local_variable_declaration
floating_point_type
double "double"
variable_declarator
identifier "minv"
= "="
method_invocation
identifier "min"
. "."
identifier "doubleValue"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
unary_expression
! "!"
method_invocation
identifier "Double"
. "."
identifier "isNaN"
argument_list
( "("
identifier "minv"
) ")"
) ")"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
binary_expression
identifier "minv"
< "<"
field_access
this "this"
. "."
identifier "minimumRangeValue"
|| "||"
method_invocation
identifier "Double"
. "."
identifier "isNaN"
argument_list
( "("
field_access
this "this"
. "."
identifier "minimumRangeValue"
) ")"
) ")"
block
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "minimumRangeValue"
= "="
identifier "minv"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "minimumRangeValueRow"
= "="
identifier "r"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "minimumRangeValueColumn"
= "="
identifier "c"
; ";"
} "}"
} "}"
} "}"
local_variable_declaration
type_identifier "Number"
variable_declarator
identifier "max"
= "="
method_invocation
identifier "item"
. "."
identifier "getMaxOutlier"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "max"
!= "!="
null_literal "null"
) ")"
block
{ "{"
local_variable_declaration
floating_point_type
double "double"
variable_declarator
identifier "maxv"
= "="
method_invocation
identifier "max"
. "."
identifier "doubleValue"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
unary_expression
! "!"
method_invocation
identifier "Double"
. "."
identifier "isNaN"
argument_list
( "("
identifier "maxv"
) ")"
) ")"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
binary_expression
identifier "maxv"
> ">"
field_access
this "this"
. "."
identifier "maximumRangeValue"
|| "||"
method_invocation
identifier "Double"
. "."
identifier "isNaN"
argument_list
( "("
field_access
this "this"
. "."
identifier "maximumRangeValue"
) ")"
) ")"
block
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "maximumRangeValue"
= "="
identifier "maxv"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "maximumRangeValueRow"
= "="
identifier "r"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "maximumRangeValueColumn"
= "="
identifier "c"
; ";"
} "}"
} "}"
} "}"
} "}"
} "}"
} "}"
} "}"
block_comment "/**\r\n * Tests this dataset for equality with an arbitrar"...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Returns a clone of this dataset.\r\n * \r\n "...
method_declaration (+57 nodes collapsed)
} "}"