Class EventBasedTallyTest.ObservationEventListener

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

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

    • ObservationEventListener

      ObservationEventListener()
  • 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