Package cdc.graphs.impl.tests
Class TestGraphHeavyEdge
- java.lang.Object
-
- cdc.graphs.impl.BasicGraphEdge<TestGraphHeavyNode>
-
- cdc.graphs.impl.tests.TestGraphHeavyEdge
-
- All Implemented Interfaces:
GraphEdge<TestGraphHeavyNode>,TestEdge<TestGraphHeavyNode>
public class TestGraphHeavyEdge extends BasicGraphEdge<TestGraphHeavyNode> implements TestEdge<TestGraphHeavyNode>
Implementation of graph edge for tests.- Author:
- Damien Carbonne
-
-
Constructor Summary
Constructors Constructor Description TestGraphHeavyEdge(String name, TestGraphHeavyNode source, TestGraphHeavyNode target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetLabel()StringgetName()inthashCode()voidsetLabel(String label)StringtoString()-
Methods inherited from class cdc.graphs.impl.BasicGraphEdge
getSource, getTarget
-
-
-
-
Constructor Detail
-
TestGraphHeavyEdge
public TestGraphHeavyEdge(String name, TestGraphHeavyNode source, TestGraphHeavyNode target)
-
-
Method Detail
-
getName
public final String getName()
- Specified by:
getNamein interfaceTestEdge<TestGraphHeavyNode>
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceTestEdge<TestGraphHeavyNode>
-
setLabel
public void setLabel(String label)
- Specified by:
setLabelin interfaceTestEdge<TestGraphHeavyNode>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBasicGraphEdge<TestGraphHeavyNode>
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classBasicGraphEdge<TestGraphHeavyNode>
-
toString
public String toString()
- Overrides:
toStringin classBasicGraphEdge<TestGraphHeavyNode>
-
-