public class AlgorithmEventHistoryEntry
extends java.lang.Object
AlgorithmEventHistoryEntrys are used to store PropertyProcessedAlgorithmEvents in an AlgorithmEventHistory combined with additional meta information.| Constructor and Description |
|---|
AlgorithmEventHistoryEntry(ai.libs.jaicore.basic.algorithm.events.serializable.PropertyProcessedAlgorithmEvent algorithmEvent,
long timeEventWasReceived)
Creates a new
AlgorithmEventHistoryEntry storing the given PropertyProcessedAlgorithmEvent and the time at which the event was received. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ai.libs.jaicore.basic.algorithm.events.serializable.PropertyProcessedAlgorithmEvent |
getAlgorithmEvent()
Returns the
PropertyProcessedAlgorithmEvent stored as part of this entry. |
long |
getTimeEventWasReceived()
Returns the time at which this event was received.
|
int |
hashCode() |
java.lang.String |
toString() |
public AlgorithmEventHistoryEntry(ai.libs.jaicore.basic.algorithm.events.serializable.PropertyProcessedAlgorithmEvent algorithmEvent,
long timeEventWasReceived)
AlgorithmEventHistoryEntry storing the given PropertyProcessedAlgorithmEvent and the time at which the event was received.algorithmEvent - The PropertyProcessedAlgorithmEvent to be stored.timeEventWasReceived - The time at which the event was received.public ai.libs.jaicore.basic.algorithm.events.serializable.PropertyProcessedAlgorithmEvent getAlgorithmEvent()
PropertyProcessedAlgorithmEvent stored as part of this entry.PropertyProcessedAlgorithmEvent stored as part of this entry.public long getTimeEventWasReceived()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object