Object built-in object

Object HeapGraphNode

HeapGraphNode represents a node in the heap view

Inheritance

Member attributes

type

Integer, node type, possible values:

1
readonly Integer HeapGraphNode.type;

name

String, node name

1
readonly String HeapGraphNode.name;

description

String, 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, a list of child nodes, composed of HeapGraphEdge type objects

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