Class AlgorithmEventHistoryEntry

    • Constructor Summary

      Constructors 
      Constructor Description
      AlgorithmEventHistoryEntry​(org.api4.java.algorithm.events.serializable.IPropertyProcessedAlgorithmEvent algorithmEvent, long timeEventWasReceived)
      Creates a new AlgorithmEventHistoryEntry storing the given IPropertyProcessedAlgorithmEvent and the time at which the event was received.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      org.api4.java.algorithm.events.serializable.IPropertyProcessedAlgorithmEvent getAlgorithmEvent()
      Returns the IPropertyProcessedAlgorithmEvent stored as part of this entry.
      long getTimeEventWasReceived()
      Returns the time at which this event was received.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AlgorithmEventHistoryEntry

        public AlgorithmEventHistoryEntry​(org.api4.java.algorithm.events.serializable.IPropertyProcessedAlgorithmEvent algorithmEvent,
                                          long timeEventWasReceived)
        Creates a new AlgorithmEventHistoryEntry storing the given IPropertyProcessedAlgorithmEvent and the time at which the event was received.
        Parameters:
        algorithmEvent - The IPropertyProcessedAlgorithmEvent to be stored.
        timeEventWasReceived - The time at which the event was received.
    • Method Detail

      • getAlgorithmEvent

        public org.api4.java.algorithm.events.serializable.IPropertyProcessedAlgorithmEvent getAlgorithmEvent()
        Returns the IPropertyProcessedAlgorithmEvent stored as part of this entry.
        Returns:
        The IPropertyProcessedAlgorithmEvent stored as part of this entry.
      • getTimeEventWasReceived

        public long getTimeEventWasReceived()
        Returns the time at which this event was received.
        Returns:
        The time at which this event was received.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object