Package org.oddjob.events
Class WrapperOf<T>
java.lang.Object
org.oddjob.events.WrapperOf<T>
- Type Parameters:
T- The type the event is of.
- All Implemented Interfaces:
InstantEvent<T>
An event of something create by wrapping it.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WrapperOf
-
WrapperOf
-
-
Method Details
-
getOf
Description copied from interface:InstantEventGet the underlying event or trigger. Will not be null.- Specified by:
getOfin interfaceInstantEvent<T>- Returns:
- The event/trigger.
-
getTime
Description copied from interface:InstantEventGet the UTC time of the event.- Specified by:
getTimein interfaceInstantEvent<T>- Returns:
- The time.
-
equals
-
hashCode
public int hashCode() -
toString
-