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 boolean
equals(java.lang.Object obj)
java.lang.Integer
getEnd()
Get the end, or head, of the edgejava.lang.Integer
getStart()
Get the start, or tail, of the edgeint
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CollatzEdge
public CollatzEdge(int start, DijkstraShortestPathsAlgorithmTest.CollatzOp op, int end)
-
-
Method Detail
-
getStart
public java.lang.Integer getStart()
Description copied from interface:GEdge
Get 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:GEdge
Get the end, or head, of the edgeIn the edge x -> y, y is the end
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-