Interface TestEdge<N extends TestNode>

All Superinterfaces:
GraphEdge<N>
All Known Implementing Classes:
TestGraphHeavyEdge, TestGraphLightEdge

public interface TestEdge<N extends TestNode> extends GraphEdge<N>
  • Method Details

    • getName

      String getName()
      Returns:
      The edge name (identifier-like).
    • getLabel

      String getLabel()
      Returns:
      The edge label.
    • setLabel

      void setLabel(String label)
      Sets the edge label.
      Parameters:
      label - The label.
    • getDefinitionHashCode

      default int getDefinitionHashCode()
      Returns:
      A hash code based on definition of this edge.
    • hasSameDefinition

      default boolean hasSameDefinition(TestEdge<? extends TestNode> edge)
      Parameters:
      edge - The other edge.
      Returns:
      true if this edge and edge have the same definition.