class_body
{ "{"
block_comment "/** For serialization. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
unary_expression
- "-"
decimal_integer_literal "5032960206869675528L"
; ";"
block_comment "/** Default value for the domain description. */"
field_declaration
modifiers
protected "protected"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "DEFAULT_DOMAIN_DESCRIPTION"
= "="
string_literal
" "\""
string_fragment "Time"
" "\""
; ";"
block_comment "/** Default value for the range description. */"
field_declaration
modifiers
protected "protected"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "DEFAULT_RANGE_DESCRIPTION"
= "="
string_literal
" "\""
string_fragment "Value"
" "\""
; ";"
block_comment "/** A description of the domain. */"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "domain"
; ";"
block_comment "/** A description of the range. */"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "range"
; ";"
block_comment "/** The type of period for the data. */"
field_declaration
modifiers
protected "protected"
type_identifier "Class"
variable_declarator
identifier "timePeriodClass"
; ";"
block_comment "/** The list of data items in the series. */"
field_declaration
modifiers
protected "protected"
type_identifier "List"
variable_declarator
identifier "data"
; ";"
block_comment "/** The maximum number of items for the series. */"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "maximumItemCount"
; ";"
block_comment "/**\r\n * The maximum age of items for the series, specifi"...
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "maximumItemAge"
; ";"
block_comment "/**\r\n * The minimum y-value in the series.\r\n *\r\n "...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "minY"
; ";"
block_comment "/**\r\n * The maximum y-value in the series.\r\n *\r\n "...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "maxY"
; ";"
block_comment "/**\r\n * Creates a new (empty) time series. By default, "...
constructor_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Creates a new time series that contains no data."...
constructor_declaration (+123 nodes collapsed)
block_comment "/**\r\n * Returns the domain description.\r\n *\r\n * "...
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "getDomainDescription"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "domain"
; ";"
} "}"
block_comment "/**\r\n * Sets the domain description and sends a <code>Pr"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Returns the range description.\r\n *\r\n * @"...
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "getRangeDescription"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "range"
; ";"
} "}"
block_comment "/**\r\n * Sets the range description and sends a <code>Pro"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Returns the number of items in the series.\r\n "...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the list of data items for the series (t"...
method_declaration (+26 nodes collapsed)
block_comment "/**\r\n * Returns the maximum number of items that will be"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getMaximumItemCount"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "maximumItemCount"
; ";"
} "}"
block_comment "/**\r\n * Sets the maximum number of items that will be re"...
method_declaration (+94 nodes collapsed)
block_comment "/**\r\n * Returns the maximum item age (in time periods) f"...
method_declaration
modifiers
public "public"
integral_type
long "long"
identifier "getMaximumItemAge"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "maximumItemAge"
; ";"
} "}"
block_comment "/**\r\n * Sets the number of time units in the 'history' f"...
method_declaration (+58 nodes collapsed)
block_comment "/**\r\n * Returns the smallest y-value in the series, igno"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMinY"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "minY"
; ";"
} "}"
block_comment "/**\r\n * Returns the largest y-value in the series, ignor"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMaxY"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "maxY"
; ";"
} "}"
block_comment "/**\r\n * Returns the time period class for this series.\r\n"...
method_declaration
modifiers
public "public"
type_identifier "Class"
identifier "getTimePeriodClass"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "timePeriodClass"
; ";"
} "}"
block_comment "/**\r\n * Returns a data item from the dataset. Note that"...
method_declaration (+50 nodes collapsed)
block_comment "/**\r\n * Returns the data item for a specific period. No"...
method_declaration (+56 nodes collapsed)
block_comment "/**\r\n * Returns a data item for the series. This method"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Returns a data item for the series. This method"...
method_declaration (+63 nodes collapsed)
block_comment "/**\r\n * Returns the time period at the specified index.\r"...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Returns a time period that would be the next in "...
method_declaration (+40 nodes collapsed)
block_comment "/**\r\n * Returns a collection of all the time periods in "...
method_declaration (+75 nodes collapsed)
block_comment "/**\r\n * Returns a collection of time periods in the spec"...
method_declaration (+114 nodes collapsed)
block_comment "/**\r\n * Returns the index for the item (if any) that cor"...
method_declaration (+74 nodes collapsed)
block_comment "/**\r\n * Returns the value at the specified index.\r\n "...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Returns the value for a time period. If there i"...
method_declaration (+56 nodes collapsed)
block_comment "/**\r\n * Adds a data item to the series and sends a {@lin"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Adds a data item to the series and sends a {@lin"...
method_declaration (+643 nodes collapsed)
block_comment "/**\r\n * Adds a new data item to the series and sends a {"...
method_declaration (+32 nodes collapsed)
block_comment "/**\r\n * Adds a new data item to the series and sends a {"...
method_declaration (+49 nodes collapsed)
block_comment "/**\r\n * Adds a new data item to the series and sends\r\n "...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Adds a new data item to the series and sends a {"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Updates (changes) the value for a time period. "...
method_declaration (+94 nodes collapsed)
block_comment "/**\r\n * Updates (changes) the value of a data item.\r\n "...
method_declaration (+223 nodes collapsed)
block_comment "/**\r\n * Adds or updates data from one series to another."...
method_declaration (+132 nodes collapsed)
block_comment "/**\r\n * Adds or updates an item in the times series and "...
method_declaration (+36 nodes collapsed)
block_comment "/**\r\n * Adds or updates an item in the times series and "...
method_declaration (+35 nodes collapsed)
block_comment "/**\r\n * Adds or updates an item in the times series and "...
method_declaration (+553 nodes collapsed)
block_comment "/**\r\n * Age items in the series. Ensure that the timesp"...
method_declaration (+148 nodes collapsed)
block_comment "/**\r\n * Age items in the series. Ensure that the timesp"...
method_declaration (+327 nodes collapsed)
block_comment "/**\r\n * Removes all data items from the series and sends"...
method_declaration (+84 nodes collapsed)
block_comment "/**\r\n * Deletes the data item for the given time period "...
method_declaration (+102 nodes collapsed)
block_comment "/**\r\n * Deletes data from start until end index (end inc"...
method_declaration (+32 nodes collapsed)
block_comment "/**\r\n * Deletes data from start until end index (end inc"...
method_declaration (+141 nodes collapsed)
block_comment "/**\r\n * Returns a clone of the time series.\r\n * <P>\r"...
method_declaration (+58 nodes collapsed)
block_comment "/**\r\n * Creates a new timeseries by copying a subset of "...
method_declaration
modifiers
public "public"
type_identifier "TimeSeries"
identifier "createCopy"
formal_parameters
( "("
formal_parameter
integral_type
int "int"
identifier "start"
, ","
formal_parameter
integral_type
int "int"
identifier "end"
) ")"
throws
throws "throws"
type_identifier "CloneNotSupportedException"
block
{ "{"
if_statement (+25 nodes collapsed)
if_statement (+25 nodes collapsed)
local_variable_declaration
type_identifier "TimeSeries"
variable_declarator
identifier "copy"
= "="
cast_expression
( "("
type_identifier "TimeSeries"
) ")"
method_invocation
super "super"
. "."
identifier "clone"
argument_list
( "("
) ")"
; ";"
expression_statement
assignment_expression
field_access
identifier "copy"
. "."
identifier "data"
= "="
object_creation_expression
new "new"
scoped_type_identifier
scoped_type_identifier
type_identifier "java"
. "."
type_identifier "util"
. "."
type_identifier "ArrayList"
argument_list
( "("
) ")"
; ";"
if_statement (+117 nodes collapsed)
return_statement
return "return"
identifier "copy"
; ";"
} "}"
block_comment "/**\r\n * Creates a new timeseries by copying a subset of "...
method_declaration (+323 nodes collapsed)
block_comment "/**\r\n * Tests the series for equality with an arbitrary "...
method_declaration (+287 nodes collapsed)
block_comment "/**\r\n * Returns a hash code value for the object.\r\n "...
method_declaration (+316 nodes collapsed)
block_comment "/**\r\n * Updates the cached values for the minimum and ma"...
method_declaration (+97 nodes collapsed)
block_comment "/**\r\n * Updates the cached values for the minimum and ma"...
method_declaration (+102 nodes collapsed)
block_comment "/**\r\n * Finds the bounds of the x and y values for the s"...
method_declaration (+91 nodes collapsed)
block_comment "/**\r\n * A function to find the minimum of two values, bu"...
method_declaration (+82 nodes collapsed)
block_comment "/**\r\n * A function to find the maximum of two values, bu"...
method_declaration (+82 nodes collapsed)
} "}"