
graphics.scenery.utils.SimpleTimestamped.kt Maven / Gradle / Ivy
package graphics.scenery.utils
/**
* Class to wrap objects that might need to be stored in a [TimestampedConcurrentHashMap].
*
* @author Ulrik Guenther
*/
class SimpleTimestamped(val contents: T) : Timestamped {
/** The object's creation timestamp. */
override var created: Long = System.nanoTime()
/** The object's updated timestamp. */
override var updated: Long = System.nanoTime()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy