Class EdgeTraversalEvent<E>

  • Type Parameters:
    E - the graph edge type
    All Implemented Interfaces:

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

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

    • Constructor Summary

      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.
        eventSource - the source of the event.
        edge - the traversed edge.
    • Method Detail

      • getEdge

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