Object built-in object

ObjectHeapGraphNode

HeapGraphNode represents a node in the heap view

inheritance relationship

member properties

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, list of child nodes, consisting ofHeapGraphEdgeType object composition

1
readonly NArray HeapGraphNode.childs;

member function

toString

Returns the string representation of the object. Generally, "[Native Object]" is returned. The object can be re-implemented according to its own characteristics.

1
String HeapGraphNode.toString();

Return results:

  • String, returns the string representation of the object

toJSON

Returns a JSON format representation of the object, generally returning a collection of readable properties defined by the object.

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

Call parameters:

  • key: String, not used

Return results:

  • Value, returns a value containing JSON serializable