Class GraphLogger

  • All Implemented Interfaces:
    GraphListener, java.util.EventListener

    public class GraphLogger
    extends java.lang.Object
    implements GraphListener
    A logger of graph events. Every event that is sent to this logger is stored in a log which can then be printed out or otherwise analyzed.
    Version:
    $Id$
    Author:
    Michael Shilman
    Pt.AcceptedRating:
    Red
    • Constructor Detail

      • GraphLogger

        public GraphLogger()
    • Method Detail

      • iterator

        public java.util.Iterator iterator()
        Return a sequentially-sorted iterator over the GraphEvent objects contained by the log.
      • toString

        public java.lang.String toString()
        Print the contents of the log into a string.
        Overrides:
        toString in class java.lang.Object