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:
java.io.Serializable
- Enclosing class:
- AbstractGraphIterator<V,E>
static class AbstractGraphIterator.FlyweightVertexEvent<V> extends VertexTraversalEvent<V>
A reusable vertex event.
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.jgrapht.event.VertexTraversalEvent
vertex
-
-
Constructor Summary
Constructors Constructor Description FlyweightVertexEvent(java.lang.Object eventSource, V vertex)
Creates a new FlyweightVertexEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setVertex(V vertex)
Sets the vertex of this event.-
Methods inherited from class org.jgrapht.event.VertexTraversalEvent
getVertex
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FlyweightVertexEvent
public FlyweightVertexEvent(java.lang.Object eventSource, V vertex)
Creates a new FlyweightVertexEvent.- Parameters:
eventSource
- the source of the event.vertex
- the traversed vertex.
-
-
Method Detail
-
setVertex
protected void setVertex(V vertex)
Sets the vertex of this event.- Parameters:
vertex
- the vertex to be set.
-
-