Package com.powsybl.math.graph
Class DefaultUndirectedGraphListener<V,E>
java.lang.Object
com.powsybl.math.graph.DefaultUndirectedGraphListener<V,E>
- All Implemented Interfaces:
UndirectedGraphListener<V,
E>
public class DefaultUndirectedGraphListener<V,E>
extends Object
implements UndirectedGraphListener<V,E>
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allEdgesBeforeRemoval
(Collection<E> obj) void
allEdgesRemoved
(Collection<E> obj) void
void
void
edgeBeforeRemoval
(int e, E obj) void
edgeRemoved
(int e, E obj) void
vertexAdded
(int v) void
vertexObjectSet
(int v, V obj) void
vertexRemoved
(int v, V obj)
-
Constructor Details
-
DefaultUndirectedGraphListener
public DefaultUndirectedGraphListener()
-
-
Method Details
-
vertexAdded
public void vertexAdded(int v) - Specified by:
vertexAdded
in interfaceUndirectedGraphListener<V,
E>
-
vertexObjectSet
- Specified by:
vertexObjectSet
in interfaceUndirectedGraphListener<V,
E>
-
vertexRemoved
- Specified by:
vertexRemoved
in interfaceUndirectedGraphListener<V,
E>
-
allVerticesRemoved
public void allVerticesRemoved()- Specified by:
allVerticesRemoved
in interfaceUndirectedGraphListener<V,
E>
-
edgeAdded
- Specified by:
edgeAdded
in interfaceUndirectedGraphListener<V,
E>
-
edgeRemoved
- Specified by:
edgeRemoved
in interfaceUndirectedGraphListener<V,
E>
-
edgeBeforeRemoval
- Specified by:
edgeBeforeRemoval
in interfaceUndirectedGraphListener<V,
E>
-
allEdgesBeforeRemoval
- Specified by:
allEdgesBeforeRemoval
in interfaceUndirectedGraphListener<V,
E>
-
allEdgesRemoved
- Specified by:
allEdgesRemoved
in interfaceUndirectedGraphListener<V,
E>
-