Package ghidra.graph
Class DefaultGEdge<V>
- java.lang.Object
-
- ghidra.graph.DefaultGEdge<V>
-
- All Implemented Interfaces:
GEdge<V>
- Direct Known Subclasses:
CodeBlockEdge,MutableGDirectedGraphWrapper.DummyEdge
public class DefaultGEdge<V> extends java.lang.Object implements GEdge<V>
-
-
Constructor Summary
Constructors Constructor Description DefaultGEdge(V start, V end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)VgetEnd()Get the end, or head, of the edgeVgetStart()Get the start, or tail, of the edgeinthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getStart
public V getStart()
Description copied from interface:GEdgeGet the start, or tail, of the edgeIn the edge x -> y, x is the start
-
getEnd
public V getEnd()
Description copied from interface:GEdgeGet the end, or head, of the edgeIn the edge x -> y, y is the end
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-