Object built-in object

Object HeapGraphEdge

HeapGraphEdge means twoHeapGraphNodeAssociation between nodes, from upstream node to downstream node

Inheritance

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

Member attributes

type

Integer, the link method of downstream nodes, possible values:

1
readonly Integer HeapGraphEdge.type;

name

String, link name

1
readonly String HeapGraphEdge.name;

description

String, description of the link

1
readonly String HeapGraphEdge.description;

Member function

getFromNode

Get the upstream of HeapGraphEdgeHeapGraphNodenode

1
HeapGraphNode HeapGraphEdge.getFromNode();

Return result:


getToNode

Get the downstream of HeapGraphEdgeHeapGraphNodenode

1
HeapGraphNode HeapGraphEdge.getToNode();

Return result:


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 HeapGraphEdge.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 HeapGraphEdge.toJSON(String key = "");

Call parameters:

  • key: String, unused

Return result:

  • Value, Returns a value containing JSON serializable