Timestamp

data class Timestamp(uid: ClientUId, cnt: Int)

This class represents a timestamp.

Constructors

Timestamp
Link copied to clipboard
common
fun Timestamp(uid: ClientUId, cnt: Int)

Types

Companion
Link copied to clipboard
common
object Companion

Functions

compareTo
Link copied to clipboard
common
operator fun compareTo(other: Timestamp): Int
Compares this timestamp to a given other timestamp.
component1
Link copied to clipboard
common
operator fun component1(): ClientUId
component2
Link copied to clipboard
common
operator fun component2(): Int
copy
Link copied to clipboard
common
fun copy(uid: ClientUId, cnt: Int): Timestamp
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toJson
Link copied to clipboard
common
fun toJson(): String
Serializes this timestamp to a json string.
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

cnt
Link copied to clipboard
common
val cnt: Int
the value associated to the timestamp.
uid
Link copied to clipboard
common
val uid: ClientUId
the client unique id.