Class EventBasedTimestampWeightedTallyTest.TimestampedObservationEventListener

java.lang.Object
org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTallyTest.TimestampedObservationEventListener
All Implemented Interfaces:
Serializable, Remote, EventListener, org.djutils.event.EventListener
Enclosing class:
EventBasedTimestampWeightedTallyTest

class EventBasedTimestampWeightedTallyTest.TimestampedObservationEventListener extends Object implements org.djutils.event.EventListener
The listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness.
  • Constructor Details

    • TimestampedObservationEventListener

      TimestampedObservationEventListener()
  • Method Details

    • notify

      public void notify(org.djutils.event.Event event)
      Specified by:
      notify in interface org.djutils.event.EventListener
    • getObservationEvents

      public int getObservationEvents()
      Returns:
      countEvents