T - the type of the event datapublic final class Event<T> extends Object
| Constructor and Description |
|---|
Event(String type,
T data)
Constructs a
Event object with the specified type and data. |
| Modifier and Type | Method and Description |
|---|---|
T |
getData()
Gets the data of this event.
|
String |
getType()
Gets the type of this event.
|
Copyright © 2009–2019 B3log. All rights reserved.