Package ghidra.graph
Class DijkstraShortestPathsAlgorithmTest.CollatzEdge
- java.lang.Object
-
- ghidra.graph.DijkstraShortestPathsAlgorithmTest.CollatzEdge
-
- All Implemented Interfaces:
GEdge<java.lang.Integer>
- Enclosing class:
- DijkstraShortestPathsAlgorithmTest
public class DijkstraShortestPathsAlgorithmTest.CollatzEdge extends java.lang.Object implements GEdge<java.lang.Integer>
-
-
Constructor Summary
Constructors Constructor Description CollatzEdge(int start, DijkstraShortestPathsAlgorithmTest.CollatzOp op, int end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.IntegergetEnd()Get the end, or head, of the edgejava.lang.IntegergetStart()Get the start, or tail, of the edgeinthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
CollatzEdge
public CollatzEdge(int start, DijkstraShortestPathsAlgorithmTest.CollatzOp op, int end)
-
-
Method Detail
-
getStart
public java.lang.Integer getStart()
Description copied from interface:GEdgeGet the start, or tail, of the edgeIn the edge x -> y, x is the start
-
getEnd
public java.lang.Integer getEnd()
Description copied from interface:GEdgeGet the end, or head, of the edgeIn the edge x -> y, y is the end
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-