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 Object implements GEdge<V>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultGEdge(V start, V end)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `V`
  `getEnd()`
  Get the end, or head, of the edge
  `V`
  `getStart()`
  Get the start, or tail, of the edge
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DefaultGEdge

    public DefaultGEdge(V start, V end)

- ## Method Details

  - ### 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 String toString()
    Overrides:
      `toString` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`