Object built-in object

Object HeapGraphNode

HeapGraphNode represents a node in the heap view

Inheritance

#lineWidth: 1.5 #font: Helvetica,sans-Serif #fontSize: 10 #leading: 1.6 #.this: fill=lightgray #.class: fill=white [<class>object|toString();toJSON()] [<this>HeapGraphNode|type;name;description;id;shallowSize;childs] [object] <:- [HeapGraphNode] object toString() toJSON() HeapGraphNode type name description id shallowSize childs

Member attributes

type

Integer, node type, possible values:

1
readonly Integer HeapGraphNode.type;

name

String, node name

1
readonly String HeapGraphNode.name;

description

String, the description of the node

1
readonly String HeapGraphNode.description;

id

Integer, node ID

1
readonly Integer HeapGraphNode.id;

shallowSize

Integer, node size, in bytes

1
readonly Integer HeapGraphNode.shallowSize;

childs

NArray, the list of child nodes, byHeapGraphEdgeType object composition

1
readonly NArray HeapGraphNode.childs;

Member function

toString

Returns the string representation of the object, generally returns "[Native Object]", the object can be re-implemented according to its own characteristics

1
String HeapGraphNode.toString();

Return result:

  • String, Returns the string representation of the object

toJSON

Returns the JSON format representation of the object, generally returns a collection of readable attributes defined by the object

1
Value HeapGraphNode.toJSON(String key = "");

Call parameters:

  • key: String, unused

Return result:

  • Value, Returns a value containing JSON serializable