class_body
{ "{"
block_comment "/** The series keys. */"
field_declaration
modifiers
private "private"
array_type
type_identifier "Comparable"
dimensions
[ "["
] "]"
variable_declarator
identifier "seriesKeys"
; ";"
block_comment "/** The category keys. */"
field_declaration
modifiers
private "private"
array_type
type_identifier "Comparable"
dimensions
[ "["
] "]"
variable_declarator
identifier "categoryKeys"
; ";"
block_comment "/** Storage for the start value data. */"
field_declaration
modifiers
private "private"
array_type
type_identifier "Number"
dimensions
[ "["
] "]"
[ "["
] "]"
variable_declarator
identifier "startData"
; ";"
block_comment "/** Storage for the end value data. */"
field_declaration
modifiers
private "private"
array_type
type_identifier "Number"
dimensions
[ "["
] "]"
[ "["
] "]"
variable_declarator
identifier "endData"
; ";"
block_comment "/**\r\n * Creates a new dataset using the specified data v"...
constructor_declaration (+54 nodes collapsed)
block_comment "/**\r\n * Constructs a dataset and populates it with data "...
constructor_declaration (+42 nodes collapsed)
block_comment "/**\r\n * Constructs a DefaultIntervalCategoryDataset, pop"...
constructor_declaration (+50 nodes collapsed)
block_comment "/**\r\n * Constructs a DefaultIntervalCategoryDataset, pop"...
constructor_declaration
modifiers
public "public"
identifier "DefaultIntervalCategoryDataset"
formal_parameters (+38 nodes collapsed)
constructor_body
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "startData"
= "="
identifier "starts"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "endData"
= "="
identifier "ends"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
binary_expression
identifier "starts"
!= "!="
null_literal "null"
&& "&&"
binary_expression
identifier "ends"
!= "!="
null_literal "null"
) ")"
block
{ "{"
local_variable_declaration
type_identifier "String"
variable_declarator
identifier "baseName"
= "="
string_literal
" "\""
string_fragment "org.jfree.data.resources.DataPackageResources"
" "\""
; ";"
local_variable_declaration
type_identifier "ResourceBundle"
variable_declarator
identifier "resources"
= "="
method_invocation
identifier "ResourceBundle"
. "."
identifier "getBundle"
argument_list
( "("
identifier "baseName"
) ")"
; ";"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "seriesCount"
= "="
field_access
identifier "starts"
. "."
identifier "length"
; ";"
if_statement (+53 nodes collapsed)
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "seriesCount"
> ">"
decimal_integer_literal "0"
) ")"
block (+273 nodes collapsed)
else "else"
block
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "seriesKeys"
= "="
null_literal "null"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "categoryKeys"
= "="
null_literal "null"
; ";"
} "}"
} "}"
} "}"
block_comment "/**\r\n * Returns the number of series in the dataset (pos"...
method_declaration (+51 nodes collapsed)
block_comment "/**\r\n * Returns a series index.\r\n *\r\n * @param s"...
method_declaration (+90 nodes collapsed)
block_comment "/**\r\n * Returns the name of the specified series.\r\n "...
method_declaration (+70 nodes collapsed)
block_comment "/**\r\n * Sets the names of the series in the dataset.\r\n "...
method_declaration (+91 nodes collapsed)
block_comment "/**\r\n * Returns the number of categories in the dataset."...
method_declaration (+71 nodes collapsed)
block_comment "/**\r\n * Returns a list of the categories in the dataset."...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Sets the categories for the dataset.\r\n *\r\n "...
method_declaration
modifiers
public "public"
void_type "void"
identifier "setCategoryKeys"
formal_parameters
( "("
formal_parameter
array_type
type_identifier "Comparable"
dimensions
[ "["
] "]"
identifier "categoryKeys"
) ")"
block
{ "{"
if_statement (+25 nodes collapsed)
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "categoryKeys"
. "."
identifier "length"
!= "!="
field_access
array_access
field_access
this "this"
. "."
identifier "startData"
[ "["
decimal_integer_literal "0"
] "]"
. "."
identifier "length"
) ")"
block
{ "{"
throw_statement
throw "throw"
object_creation_expression
new "new"
type_identifier "IllegalArgumentException"
argument_list
( "("
string_literal
" "\""
string_fragment "The number of categories does not match the data."
" "\""
) ")"
; ";"
} "}"
for_statement (+61 nodes collapsed)
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "categoryKeys"
= "="
identifier "categoryKeys"
; ";"
expression_statement
method_invocation
identifier "fireDatasetChanged"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/**\r\n * Returns the data value for one category in a ser"...
method_declaration (+105 nodes collapsed)
block_comment "/**\r\n * Returns the data value for one category in a ser"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Returns the start data value for one category in"...
method_declaration (+105 nodes collapsed)
block_comment "/**\r\n * Returns the start data value for one category in"...
method_declaration (+131 nodes collapsed)
block_comment "/**\r\n * Returns the end data value for one category in a"...
method_declaration (+105 nodes collapsed)
block_comment "/**\r\n * Returns the end data value for one category in a"...
method_declaration (+129 nodes collapsed)
block_comment "/**\r\n * Sets the start data value for one category in a "...
method_declaration (+144 nodes collapsed)
block_comment "/**\r\n * Sets the end data value for one category in a se"...
method_declaration (+144 nodes collapsed)
block_comment "/**\r\n * Returns the index for the given category.\r\n "...
method_declaration (+90 nodes collapsed)
block_comment "/**\r\n * Generates an array of keys, by appending a space"...
method_declaration (+97 nodes collapsed)
block_comment "/**\r\n * Returns a column key.\r\n *\r\n * @param col"...
method_declaration (+26 nodes collapsed)
block_comment "/**\r\n * Returns a column index.\r\n *\r\n * @param c"...
method_declaration (+49 nodes collapsed)
block_comment "/**\r\n * Returns a row index.\r\n *\r\n * @param rowK"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns a list of the series in the dataset. Th"...
method_declaration (+68 nodes collapsed)
block_comment "/**\r\n * Returns the name of the specified series.\r\n "...
method_declaration (+67 nodes collapsed)
block_comment "/**\r\n * Returns the number of categories in the dataset."...
method_declaration (+22 nodes collapsed)
block_comment "/**\r\n * Returns the number of series in the dataset (pos"...
method_declaration (+22 nodes collapsed)
block_comment "/**\r\n * Tests this dataset for equality with an arbitrar"...
method_declaration (+183 nodes collapsed)
block_comment "/**\r\n * Returns a clone of this dataset.\r\n * \r\n "...
method_declaration (+121 nodes collapsed)
block_comment "/**\r\n * Tests two double[][] arrays for equality.\r\n "...
method_declaration (+153 nodes collapsed)
block_comment "/**\r\n * Clones a two dimensional array of <code>Number</"...
method_declaration (+173 nodes collapsed)
} "}"