Class TimeStampedObject

    • Constructor Detail

      • TimeStampedObject

        public TimeStampedObject​(IEnvironment environment)
    • Method Detail

      • getEnvironment

        public final IEnvironment getEnvironment()
        Returns:
        the environment
      • getTimeStamp

        public int getTimeStamp()
        Returns:
        the current time stamp of the object
      • needReset

        public final boolean needReset()
        Returns:
        true iff the current time stamp of the object is different from the time stamp of the environment
      • resetStamp

        public final void resetStamp()
        sets the current time stamp of the object to the time stamp of the environment