Package org.mpi_sws.jmc.strategies.trust
Class Event.Key
java.lang.Object
org.mpi_sws.jmc.strategies.trust.Event.Key
- Enclosing class:
Event
Unique key for the event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleaninthashCode()voidsetTimestamp(Integer timestamp) voidsetToStamp(Integer toStamp) com.google.gson.JsonElementtoJson()toString()
-
Constructor Details
-
Key
Creates a new key with the given task ID and timestamp.- Parameters:
taskId- The task ID.
-
Key
-
-
Method Details
-
clone
-
getTaskId
-
getTimestamp
-
setTimestamp
-
getToStamp
-
setToStamp
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
public com.google.gson.JsonElement toJson() -
compareTo
-