V - the graph vertex typeE - the graph edge typepublic interface GraphListener<V,E> extends VertexSetListener<V>
If only notifications on vertex set changes are required it is more efficient to use the VertexSetListener.
VertexSetListener| Modifier and Type | Method and Description |
|---|---|
void |
edgeAdded(GraphEdgeChangeEvent<V,E> e)
Notifies that an edge has been added to the graph.
|
void |
edgeRemoved(GraphEdgeChangeEvent<V,E> e)
Notifies that an edge has been removed from the graph.
|
vertexAdded, vertexRemovedvoid edgeAdded(GraphEdgeChangeEvent<V,E> e)
e - the edge event.void edgeRemoved(GraphEdgeChangeEvent<V,E> e)
e - the edge event.Copyright © 2016. All rights reserved.