public class Event<DataType,EventType>
extends java.lang.Object
Constructor and Description |
---|
Event(EventType id) |
Event(EventType id,
DataType payload) |
Modifier and Type | Method and Description |
---|---|
static <DataType,EventType> |
fromType(EventType type) |
java.lang.String |
toString() |