class_body
{ "{"
block_comment "/**\n * Creates a new list.\n */"
constructor_declaration
modifiers
public "public"
identifier "ShapeList"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/**\n * Returns a {@link Shape} object from the list.\n "...
method_declaration (+28 nodes collapsed)
block_comment "/**\n * Sets the {@link Shape} for an item in the list. "...
method_declaration (+29 nodes collapsed)
block_comment "/**\n * Returns an independent copy of the list.\n *\n "...
method_declaration (+24 nodes collapsed)
block_comment "/**\n * Tests the list for equality with another object ("...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "equals"
formal_parameters
( "("
formal_parameter
type_identifier "Object"
identifier "obj"
) ")"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "obj"
== "=="
this "this"
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
if_statement (+21 nodes collapsed)
return_statement
return "return"
method_invocation
super "super"
. "."
identifier "equals"
argument_list
( "("
identifier "obj"
) ")"
; ";"
} "}"
block_comment "/**\n * Returns a hash code value for the object.\n *\n"...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Provides serialization support.\n *\n * @pa"...
method_declaration (+133 nodes collapsed)
block_comment "/**\n * Provides serialization support.\n *\n * @pa"...
method_declaration (+110 nodes collapsed)
} "}"