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.
|
default void |
edgeWeightUpdated(GraphEdgeChangeEvent<V,E> e)
Notifies that an edge weight has been updated.
|
vertexAdded, vertexRemoved
void edgeAdded(GraphEdgeChangeEvent<V,E> e)
e
- the edge event.void edgeRemoved(GraphEdgeChangeEvent<V,E> e)
e
- the edge event.default void edgeWeightUpdated(GraphEdgeChangeEvent<V,E> e)
e
- the edge event.Copyright © 2018. All rights reserved.