Class EdgeTraversalEvent<E>

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

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

      • edge

        protected E edge
        The traversed edge.
    • Constructor Detail

      • EdgeTraversalEvent

        public EdgeTraversalEvent​(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.