V - the graph vertex typepublic class VertexTraversalEvent<V>
extends java.util.EventObject
| Modifier and Type | Field and Description |
|---|---|
protected V |
vertex
The traversed vertex.
|
| Constructor and Description |
|---|
VertexTraversalEvent(java.lang.Object eventSource,
V vertex)
Creates a new VertexTraversalEvent.
|
| Modifier and Type | Method and Description |
|---|---|
V |
getVertex()
Returns the traversed vertex.
|
protected V vertex
public VertexTraversalEvent(java.lang.Object eventSource,
V vertex)
eventSource - the source of the event.vertex - the traversed vertex.public V getVertex()
Copyright © 2019. All Rights Reserved.