Package ghidra.util.graph
Class Edge
java.lang.Object
ghidra.util.graph.Edge
- All Implemented Interfaces:
KeyedObject
,Comparable<Edge>
@Deprecated(since="10.2")
public final class Edge
extends Object
implements KeyedObject, Comparable<Edge>
Deprecated.
An Edge joins a pair of vertices.
The from and to vertex of an edge can not be changed.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Edge
Deprecated.- Parameters:
from
- The from or parent vertex.to
- The to or child vertex.
-
-
Method Details
-
from
Deprecated.Returns from vertex. -
to
Deprecated.Returns to vertex. -
key
public long key()Deprecated.Returns the key of this edge.- Specified by:
key
in interfaceKeyedObject
-
compareTo
Deprecated.Compare one edge to another. Based on time of creation.- Specified by:
compareTo
in interfaceComparable<Edge>
-
equals
Deprecated.Overides equals method by comparing keys. -
hashCode
public int hashCode()Deprecated.
-