Class 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 java.util.EventObject

        source
    • 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 java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.