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, vertexRemoved
void edgeAdded(GraphEdgeChangeEvent<V,E> e)
e
- the edge event.void edgeRemoved(GraphEdgeChangeEvent<V,E> e)
e
- the edge event.Copyright © 2017. All rights reserved.