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