public abstract class AbstractVertex extends java.lang.Object implements Vertex
Constructor and Description |
---|
AbstractVertex()
Default constructor creates a vertex belonging to no graph
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Don't allow subclasses to override the equals method
|
AbstractGraph<? extends Vertex> |
getGraph()
Returns the graph to which the vertex belongs.
|
void |
setGraph(AbstractGraph<? extends Vertex> graph)
Set the graph to which the vertex belongs
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, hasAdjacencies, removeAdjacency
public AbstractVertex()
public final void setGraph(AbstractGraph<? extends Vertex> graph)
Vertex
public final AbstractGraph<? extends Vertex> getGraph()
Vertex
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object