Package org.djutils.event
Interface TimedEventInterface<T extends Comparable<T> & Serializable>
-
- Type Parameters:
T
- the Comparable type that represents time
- All Superinterfaces:
EventInterface
,Serializable
- All Known Implementing Classes:
TimedEvent
public interface TimedEventInterface<T extends Comparable<T> & Serializable> extends EventInterface
The TimedEventInterface defines the getTimeStamp method on top of the methods that a regular event has to implement.
Copyright (c) 2020-2021 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.- Author:
- Alexander Verbraeck, Peter Knoppers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getTimeStamp()
Returns the timeStamp of this event.-
Methods inherited from interface org.djutils.event.EventInterface
getContent, getSourceId, getType
-
-
-
-
Method Detail
-
getTimeStamp
T getTimeStamp()
Returns the timeStamp of this event.- Returns:
- T; the time stamp
-
-