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>
- All Implemented Interfaces:
Serializable
- Enclosing class:
AbstractGraphIterator<V,
E>
A reusable vertex event.
-
Field Summary
FieldsFields inherited from class org.jgrapht.event.VertexTraversalEvent
vertex
Fields 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
getVertex
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
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.
-