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
-
-
Constructor Summary
Constructors Constructor Description DefaultUndirectedGraphListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allEdgesBeforeRemoval(Collection<E> obj)
void
allEdgesRemoved(Collection<E> obj)
void
allVerticesRemoved()
void
edgeAdded(int e, E obj)
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)
-
-
-
Method Detail
-
vertexAdded
public void vertexAdded(int v)
- Specified by:
vertexAdded
in interfaceUndirectedGraphListener<V,E>
-
vertexObjectSet
public void vertexObjectSet(int v, V obj)
- Specified by:
vertexObjectSet
in interfaceUndirectedGraphListener<V,E>
-
vertexRemoved
public void vertexRemoved(int v, V obj)
- Specified by:
vertexRemoved
in interfaceUndirectedGraphListener<V,E>
-
allVerticesRemoved
public void allVerticesRemoved()
- Specified by:
allVerticesRemoved
in interfaceUndirectedGraphListener<V,E>
-
edgeAdded
public void edgeAdded(int e, E obj)
- Specified by:
edgeAdded
in interfaceUndirectedGraphListener<V,E>
-
edgeRemoved
public void edgeRemoved(int e, E obj)
- Specified by:
edgeRemoved
in interfaceUndirectedGraphListener<V,E>
-
edgeBeforeRemoval
public void edgeBeforeRemoval(int e, E obj)
- Specified by:
edgeBeforeRemoval
in interfaceUndirectedGraphListener<V,E>
-
allEdgesBeforeRemoval
public void allEdgesBeforeRemoval(Collection<E> obj)
- Specified by:
allEdgesBeforeRemoval
in interfaceUndirectedGraphListener<V,E>
-
allEdgesRemoved
public void allEdgesRemoved(Collection<E> obj)
- Specified by:
allEdgesRemoved
in interfaceUndirectedGraphListener<V,E>
-
-