Package ghidra.graph

Class DefaultGEdge<V>

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultGEdge​(V start, V end)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      V getEnd()
      Get the end, or head, of the edge
      V getStart()
      Get the start, or tail, of the edge
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultGEdge

        public DefaultGEdge​(V start,
                            V end)
    • Method Detail

      • getStart

        public V getStart()
        Description copied from interface: GEdge
        Get the start, or tail, of the edge

        In the edge x -> y, x is the start

        Specified by:
        getStart in interface GEdge<V>
        Returns:
        the start
      • getEnd

        public V getEnd()
        Description copied from interface: GEdge
        Get the end, or head, of the edge

        In the edge x -> y, y is the end

        Specified by:
        getEnd in interface GEdge<V>
        Returns:
        the end
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object