Class VertexTraversalEvent<V>

  • Type Parameters:
    V - the graph vertex type
    All Implemented Interfaces:

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

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

    • Constructor Summary

      Constructor Description
      VertexTraversalEvent​(java.lang.Object eventSource, V vertex)
      Creates a new VertexTraversalEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V getVertex()
      Returns the traversed vertex.
      • 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

      • vertex

        protected V vertex
        The traversed vertex.
    • Constructor Detail

      • VertexTraversalEvent

        public VertexTraversalEvent​(java.lang.Object eventSource,
                                    V vertex)
        Creates a new VertexTraversalEvent.
        eventSource - the source of the event.
        vertex - the traversed vertex.
    • Method Detail

      • getVertex

        public V getVertex()
        Returns the traversed vertex.
        the traversed vertex.