java.lang.Object
java.util.EventObject
org.jgrapht.event.VertexTraversalEvent<V>
- Type Parameters:
V- the graph vertex type
- All Implemented Interfaces:
Serializable
A traversal event for a graph vertex.
- Author:
- Barak Naveh
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionVertexTraversalEvent(Object eventSource, V vertex) Creates a new VertexTraversalEvent. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
vertex
The traversed vertex.
-
-
Constructor Details
-
VertexTraversalEvent
Creates a new VertexTraversalEvent.- Parameters:
eventSource- the source of the event.vertex- the traversed vertex.
-
-
Method Details
-
getVertex
Returns the traversed vertex.- Returns:
- the traversed vertex.
-