class_body
{ "{"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "1L"
; ";"
field_declaration (+21 nodes collapsed)
block_comment "/** The values of the record */"
field_declaration
modifiers
private "private"
final "final"
array_type
type_identifier "String"
dimensions
[ "["
] "]"
variable_declarator
identifier "values"
; ";"
block_comment "/** The column name to index mapping. */"
field_declaration
modifiers
private "private"
final "final"
generic_type
type_identifier "Map"
type_arguments
< "<"
type_identifier "String"
, ","
type_identifier "Integer"
> ">"
variable_declarator
identifier "mapping"
; ";"
block_comment "/** The accumulated comments (if any) */"
field_declaration
modifiers
private "private"
final "final"
type_identifier "String"
variable_declarator
identifier "comment"
; ";"
block_comment "/** The record number. */"
field_declaration
modifiers
private "private"
final "final"
integral_type
long "long"
variable_declarator
identifier "recordNumber"
; ";"
constructor_declaration (+87 nodes collapsed)
block_comment "/**\n * Returns a value by index.\n *\n * @param i\n"...
method_declaration (+25 nodes collapsed)
block_comment "/**\n * Returns a value by name.\n *\n * @param nam"...
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "get"
formal_parameters
( "("
formal_parameter
modifiers
final "final"
type_identifier "String"
identifier "name"
) ")"
block
{ "{"
if_statement (+25 nodes collapsed)
local_variable_declaration
modifiers
final "final"
type_identifier "Integer"
variable_declarator
identifier "index"
= "="
method_invocation
identifier "mapping"
. "."
identifier "get"
argument_list
( "("
identifier "name"
) ")"
; ";"
return_statement (+22 nodes collapsed)
} "}"
block_comment "/**\n * Returns true if this record is consistent, false "...
method_declaration (+35 nodes collapsed)
block_comment "/**\n * Checks whether a given column is mapped.\n *\n "...
method_declaration (+35 nodes collapsed)
block_comment "/**\n * Checks whether a given columns is mapped and has "...
method_declaration (+47 nodes collapsed)
block_comment "/**\n * Returns an iterator over the values of this recor"...
method_declaration (+33 nodes collapsed)
method_declaration
array_type
type_identifier "String"
dimensions
[ "["
] "]"
identifier "values"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "values"
; ";"
} "}"
block_comment "/**\n * Returns the comment for this record, if any.\n "...
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "getComment"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "comment"
; ";"
} "}"
block_comment "/**\n * Returns the number of this record in the parsed C"...
method_declaration
modifiers
public "public"
integral_type
long "long"
identifier "getRecordNumber"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "recordNumber"
; ";"
} "}"
block_comment "/**\n * Returns the number of values in this record.\n "...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "size"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
identifier "values"
. "."
identifier "length"
; ";"
} "}"
method_declaration (+25 nodes collapsed)
} "}"