class_body
{ "{"
block_comment "/** For serialization. */"
field_declaration
modifiers
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
unary_expression
- "-"
decimal_integer_literal "2210593619794989709L"
; ";"
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 list of data pairs in the series. */"
field_declaration
modifiers
private "private"
type_identifier "List"
variable_declarator
identifier "data"
; ";"
block_comment "/** Index of the time period with the minimum start millisec"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "minStartIndex"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
block_comment "/** Index of the time period with the maximum start millisec"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "maxStartIndex"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
block_comment "/** Index of the time period with the minimum middle millise"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "minMiddleIndex"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
block_comment "/** Index of the time period with the maximum middle millise"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "maxMiddleIndex"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
block_comment "/** Index of the time period with the minimum end millisecon"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "minEndIndex"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
block_comment "/** Index of the time period with the maximum end millisecon"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "maxEndIndex"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
block_comment "/**\r\n * Creates a new (empty) collection of time period "...
constructor_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Creates a new time series that contains no data."...
constructor_declaration (+60 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 fires a property"...
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 fires a property "...
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 one data item for the series.\r\n *\r\n "...
method_declaration (+33 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 the value at the specified index.\r\n "...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Adds a data item to the series and sends a {@lin"...
method_declaration (+87 nodes collapsed)
block_comment "/**\r\n * Update the index values for the maximum and mini"...
method_declaration
modifiers
private "private"
void_type "void"
identifier "updateBounds"
formal_parameters
( "("
formal_parameter
type_identifier "TimePeriod"
identifier "period"
, ","
formal_parameter
integral_type
int "int"
identifier "index"
) ")"
block
{ "{"
local_variable_declaration
integral_type
long "long"
variable_declarator
identifier "start"
= "="
method_invocation
method_invocation
identifier "period"
. "."
identifier "getStart"
argument_list
( "("
) ")"
. "."
identifier "getTime"
argument_list
( "("
) ")"
; ";"
local_variable_declaration
integral_type
long "long"
variable_declarator
identifier "end"
= "="
method_invocation
method_invocation
identifier "period"
. "."
identifier "getEnd"
argument_list
( "("
) ")"
. "."
identifier "getTime"
argument_list
( "("
) ")"
; ";"
local_variable_declaration (+23 nodes collapsed)
if_statement (+83 nodes collapsed)
if_statement (+83 nodes collapsed)
if_statement (+137 nodes collapsed)
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
this "this"
. "."
identifier "maxMiddleIndex"
>= ">="
decimal_integer_literal "0"
) ")"
block
{ "{"
local_variable_declaration
integral_type
long "long"
variable_declarator
identifier "s"
= "="
method_invocation
method_invocation
method_invocation
method_invocation
identifier "getDataItem"
argument_list
( "("
field_access
this "this"
. "."
identifier "minMiddleIndex"
) ")"
. "."
identifier "getPeriod"
argument_list
( "("
) ")"
. "."
identifier "getStart"
argument_list
( "("
) ")"
. "."
identifier "getTime"
argument_list
( "("
) ")"
; ";"
local_variable_declaration
integral_type
long "long"
variable_declarator
identifier "e"
= "="
method_invocation
method_invocation
method_invocation
method_invocation
identifier "getDataItem"
argument_list
( "("
field_access
this "this"
. "."
identifier "minMiddleIndex"
) ")"
. "."
identifier "getPeriod"
argument_list
( "("
) ")"
. "."
identifier "getEnd"
argument_list
( "("
) ")"
. "."
identifier "getTime"
argument_list
( "("
) ")"
; ";"
local_variable_declaration
integral_type
long "long"
variable_declarator
identifier "maxMiddle"
= "="
binary_expression
identifier "s"
+ "+"
binary_expression
parenthesized_expression
( "("
binary_expression
identifier "e"
- "-"
identifier "s"
) ")"
/ "/"
decimal_integer_literal "2"
; ";"
if_statement (+21 nodes collapsed)
} "}"
else "else"
block
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "maxMiddleIndex"
= "="
identifier "index"
; ";"
} "}"
if_statement (+83 nodes collapsed)
if_statement (+83 nodes collapsed)
} "}"
block_comment "/**\r\n * Recalculates the bounds for the collection of it"...
method_declaration (+146 nodes collapsed)
block_comment "/**\r\n * Adds a new data item to the series and sends a {"...
method_declaration (+42 nodes collapsed)
block_comment "/**\r\n * Adds a new data item to the series and sends a {"...
method_declaration (+41 nodes collapsed)
block_comment "/**\r\n * Updates (changes) the value of a data item and s"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Deletes data from start until end index (end inc"...
method_declaration (+76 nodes collapsed)
block_comment "/**\r\n * Tests the series for equality with another objec"...
method_declaration (+251 nodes collapsed)
block_comment "/**\r\n * Returns a hash code value for the object.\r\n "...
method_declaration (+197 nodes collapsed)
block_comment "/**\r\n * Returns a clone of the collection.\r\n * <P>\r\n"...
method_declaration (+39 nodes collapsed)
block_comment "/**\r\n * Creates a new instance by copying a subset of th"...
method_declaration (+182 nodes collapsed)
block_comment "/**\r\n * Returns the index of the time period with the mi"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getMinStartIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "minStartIndex"
; ";"
} "}"
block_comment "/**\r\n * Returns the index of the time period with the ma"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getMaxStartIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "maxStartIndex"
; ";"
} "}"
block_comment "/**\r\n * Returns the index of the time period with the mi"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getMinMiddleIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "minMiddleIndex"
; ";"
} "}"
block_comment "/**\r\n * Returns the index of the time period with the ma"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getMaxMiddleIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "maxMiddleIndex"
; ";"
} "}"
block_comment "/**\r\n * Returns the index of the time period with the mi"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getMinEndIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "minEndIndex"
; ";"
} "}"
block_comment "/**\r\n * Returns the index of the time period with the ma"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getMaxEndIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "maxEndIndex"
; ";"
} "}"
} "}"