Class EventBasedTimestampWeightedTallyTest.TimestampedObservationEventListener
- java.lang.Object
-
- org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTallyTest.TimestampedObservationEventListener
-
- All Implemented Interfaces:
Serializable
,EventListener
,EventListenerInterface
- Enclosing class:
- EventBasedTimestampWeightedTallyTest
class EventBasedTimestampWeightedTallyTest.TimestampedObservationEventListener extends Object implements EventListenerInterface
The listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness.
-
-
Constructor Summary
Constructors Constructor Description TimestampedObservationEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getObservationEvents()
void
notify(EventInterface event)
-
-
-
Method Detail
-
notify
public void notify(EventInterface event)
- Specified by:
notify
in interfaceEventListenerInterface
-
getObservationEvents
public int getObservationEvents()
- Returns:
- countEvents
-
-