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