Module org.jgrapht.core
Package org.jgrapht.traverse
Class AbstractGraphIterator.FlyweightVertexEvent<V>
java.lang.Object
java.util.EventObject
org.jgrapht.event.VertexTraversalEvent<V>
org.jgrapht.traverse.AbstractGraphIterator.FlyweightVertexEvent<V>
- Type Parameters:
V- the graph vertex type
- All Implemented Interfaces:
Serializable
- Enclosing class:
AbstractGraphIterator<V,E>
A reusable vertex event.
- Author:
- Barak Naveh
- See Also:
-
Field Summary
Fields inherited from class org.jgrapht.event.VertexTraversalEvent
vertexFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionFlyweightVertexEvent(Object eventSource, V vertex) Creates a new FlyweightVertexEvent. -
Method Summary
Methods inherited from class org.jgrapht.event.VertexTraversalEvent
getVertexMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
FlyweightVertexEvent
Creates a new FlyweightVertexEvent.- Parameters:
eventSource- the source of the event.vertex- the traversed vertex.
-
-
Method Details
-
setVertex
Sets the vertex of this event.- Parameters:
vertex- the vertex to be set.
-