Package cdc.graphs.impl.tests
Class TestGraphLightEdge
- All Implemented Interfaces:
GraphEdge<TestGraphLightNode>,TestEdge<TestGraphLightNode>
public class TestGraphLightEdge
extends BasicGraphEdge<TestGraphLightNode>
implements TestEdge<TestGraphLightNode>
Implementation of graph light edge for tests.
- Author:
- Damien Carbonne
-
Constructor Summary
ConstructorsConstructorDescriptionTestGraphLightEdge(String name, TestGraphLightNode source, TestGraphLightNode target) -
Method Summary
Methods inherited from class cdc.graphs.impl.BasicGraphEdge
getSource, getTargetMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdc.graphs.impl.tests.TestEdge
getDefinitionHashCode, hasSameDefinition
-
Constructor Details
-
TestGraphLightEdge
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTestEdge<TestGraphLightNode>- Returns:
- The edge name (identifier-like).
-
getLabel
- Specified by:
getLabelin interfaceTestEdge<TestGraphLightNode>- Returns:
- The edge label.
-
setLabel
Description copied from interface:TestEdgeSets the edge label.- Specified by:
setLabelin interfaceTestEdge<TestGraphLightNode>- Parameters:
label- The label.
-
hashCode
public int hashCode()- Overrides:
hashCodein classBasicGraphEdge<TestGraphLightNode>
-
equals
- Overrides:
equalsin classBasicGraphEdge<TestGraphLightNode>
-
toString
- Overrides:
toStringin classBasicGraphEdge<TestGraphLightNode>
-