public interface ChildVertex extends Vertex
Modifier and Type | Method and Description |
---|---|
ChildVertex |
getParent()
Get the vertex's parent
|
void |
setParent(ChildVertex parent)
Set the parent of the given vertex
|
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, getGraph, hasAdjacencies, removeAdjacency, setGraph
void setParent(ChildVertex parent)
parent
- vertex to be set as parentjava.lang.IllegalArgumentException
- if the calling vertex does not belong to a graphjava.lang.IllegalArgumentException
- if the parent to be set does not belong to the same graphChildVertex getParent()