Package cdc.graphs.impl.tests
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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intgetDefinitionHashCode()StringgetLabel()StringgetName()default booleanhasSameDefinition(TestEdge<? extends TestNode> edge)voidsetLabel(String label)Sets the edge label.
-
-
-
Method Detail
-
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.
-
-