V - the graph vertex typeE - the graph edge typepublic class UndirectedGraphUnion<V,E> extends GraphUnion<V,E,UndirectedGraph<V,E>> implements UndirectedGraph<V,E>
| Modifier and Type | Method and Description |
|---|---|
int |
degreeOf(V vertex)
Returns the degree of the specified vertex.
|
addEdge, addEdge, addVertex, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, getG1, getG2, removeEdge, removeEdge, removeVertex, vertexSetassertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSetsclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSetpublic int degreeOf(V vertex)
UndirectedGraphdegreeOf in interface UndirectedGraph<V,E>vertex - vertex whose degree is to be calculated.Copyright © 2017. All rights reserved.