Class BasicDirectedXYNode
Object
BasicGraphable
BasicDirectedNode
BasicDirectedXYNode
- All Implemented Interfaces:
Serializable
,DirectedGraphable
,DirectedNode
,Graphable
,XYNode
,Node
Basic implementation of a directed XYNode extended from BasicDirectedNode. The coordinate is stored in the underlying
object reference of the node.
- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the coordinate associated with the node.void
Sets the coordinate associated with the node.Methods inherited from class BasicDirectedNode
add, addIn, addOut, getDegree, getEdge, getEdges, getEdges, getInDegree, getInEdge, getInEdges, getInEdges, getInRelated, getOutDegree, getOutEdge, getOutEdges, getOutEdges, getOutRelated, getRelated, remove, removeIn, removeOut
Methods inherited from class BasicGraphable
getCount, getID, getObject, isVisited, setCount, setID, setObject, setVisited, toString
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface Graphable
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited
-
Constructor Details
-
BasicDirectedXYNode
public BasicDirectedXYNode()
-
-
Method Details
-
getCoordinate
Description copied from interface:XYNode
Returns the coordinate associated with the node.- Specified by:
getCoordinate
in interfaceXYNode
- Returns:
- A coordinate.
- See Also:
-
setCoordinate
Description copied from interface:XYNode
Sets the coordinate associated with the node.- Specified by:
setCoordinate
in interfaceXYNode
- Parameters:
c
- A coordinate.- See Also:
-