Modifier and Type | Method and Description |
---|---|
Date |
getDate()
This is the same as getTimestamp, but returns a Date
object instead
|
T |
getObject()
Returns this event's actual object
|
long |
getTimestamp()
Returns the timestamp from this event
|
String |
toString() |
public EventImpl(long timestamp, T object)
public long getTimestamp()
Event
getTimestamp
in interface Event<T>
public T getObject()
Event
public Date getDate()
Event
Copyright © 2020. All rights reserved.