Class AbstractGraphIterator.FlyweightEdgeEvent<E>

java.lang.Object
java.util.EventObject
org.jgrapht.event.EdgeTraversalEvent<E>
org.jgrapht.traverse.AbstractGraphIterator.FlyweightEdgeEvent<E>
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractGraphIterator<V,E>

static class AbstractGraphIterator.FlyweightEdgeEvent<E> extends EdgeTraversalEvent<E>
A reusable edge event.
  • Field Details

  • Constructor Details

    • FlyweightEdgeEvent

      public FlyweightEdgeEvent(Object eventSource, E edge)
      Creates a new FlyweightEdgeEvent.
      Parameters:
      eventSource - the source of the event.
      edge - the traversed edge.
  • Method Details

    • setEdge

      protected void setEdge(E edge)
      Sets the edge of this event.
      Parameters:
      edge - the edge to be set.