Class EdgeData

java.lang.Object
de.saar.chorus.domgraph.graph.EdgeData

public class EdgeData extends Object
The data associated with an edge. At this point, this is simply the edge type (tree or dominance).
Author:
Alexander Koller
  • Constructor Details

    • EdgeData

      public EdgeData(EdgeType type)
      The constructor.
      Parameters:
      type - the type of this edge
  • Method Details

    • getType

      public EdgeType getType()
      Returns the edge type.
      Returns:
      the type
    • toString

      public String toString()
      Returns a string representation of this edge-data object.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object