Class EdgeTraversalEvent<E>

  • Type Parameters:
    E - the graph edge type
    All Implemented Interfaces:
    java.io.Serializable

    public class EdgeTraversalEvent<E>
    extends java.util.EventObject
    A traversal event for a graph edge.
    Author:
    Barak Naveh
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected E edge
      The traversed edge.
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      EdgeTraversalEvent​(java.lang.Object eventSource, E edge)
      Creates a new EdgeTraversalEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      E getEdge()
      Returns the traversed edge.
      • 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
    • Field Detail

      • edge

        protected E edge
        The traversed edge.
    • Constructor Detail

      • EdgeTraversalEvent

        public EdgeTraversalEvent​(java.lang.Object eventSource,
                                  E edge)
        Creates a new EdgeTraversalEvent.
        Parameters:
        eventSource - the source of the event.
        edge - the traversed edge.
    • Method Detail

      • getEdge

        public E getEdge()
        Returns the traversed edge.
        Returns:
        the traversed edge.