public class UndirectedEdgeDataVertex<T> extends DirectedEdgeDataVertex<T>
| Constructor and Description |
|---|
UndirectedEdgeDataVertex(EdgeDataFactory<T> edgeDataFactory)
Constructor from an EdgeDataFactory
|
| Modifier and Type | Method and Description |
|---|---|
<V extends Vertex> |
addAdjacency(V to)
Adds the specified vertex to the set of adjacencies.
|
void |
clearAdjacencies()
Removes all vertices from the adjacency set.
|
boolean |
removeAdjacency(Vertex to)
Removes the specified vertex from the adjacency set.
|
adjacencyCount, containsAdjacency, getAdjacencies, getEdgeData, hasAdjacenciesequals, getGraph, setGraphpublic UndirectedEdgeDataVertex(EdgeDataFactory<T> edgeDataFactory)
edgeDataFactory - factory to use for creating new EdgeData objectspublic final <V extends Vertex> boolean addAdjacency(V to)
VertexaddAdjacency in interface VertexaddAdjacency in class DirectedEdgeDataVertex<T>to - vertex to be addedpublic final boolean removeAdjacency(Vertex to)
VertexremoveAdjacency in interface VertexremoveAdjacency in class DirectedEdgeDataVertex<T>to - vertex to be removedpublic final void clearAdjacencies()
VertexclearAdjacencies in interface VertexclearAdjacencies in class DirectedEdgeDataVertex<T>