V - the graph vertex typeE - the graph edge typepublic interface ListenableGraph<V,E> extends Graph<V,E>
GraphListener,
VertexSetListenerDEFAULT_EDGE_WEIGHT| Modifier and Type | Method and Description |
|---|---|
void |
addGraphListener(GraphListener<V,E> l)
Adds the specified graph listener to this graph, if not already present.
|
void |
addVertexSetListener(VertexSetListener<V> l)
Adds the specified vertex set listener to this graph, if not already present.
|
void |
removeGraphListener(GraphListener<V,E> l)
Removes the specified graph listener from this graph, if present.
|
void |
removeVertexSetListener(VertexSetListener<V> l)
Removes the specified vertex set listener from this graph, if present.
|
addEdge, addEdge, addVertex, addVertex, containsEdge, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeSource, getEdgeSupplier, getEdgeTarget, getEdgeWeight, getType, getVertexSupplier, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, setEdgeWeight, setEdgeWeight, vertexSetvoid addGraphListener(GraphListener<V,E> l)
l - the listener to be added.void addVertexSetListener(VertexSetListener<V> l)
l - the listener to be added.void removeGraphListener(GraphListener<V,E> l)
l - the listener to be removed.void removeVertexSetListener(VertexSetListener<V> l)
l - the listener to be removed.Copyright © 2019. All rights reserved.