Class TimeStampedEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeStampedEvent​(java.lang.Object source)
      Creates new TimeStampedEvent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getTimestamp()
      Returns the time when the event was created.
      java.lang.String toString()  
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TimeStampedEvent

        public TimeStampedEvent​(java.lang.Object source)
        Creates new TimeStampedEvent
    • Method Detail

      • getTimestamp

        public long getTimestamp()
        Returns the time when the event was created.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.EventObject