c-crdtlib
/
crdtlib.utils
/
ClientUId
common
Client
U
Id
data class
ClientUId
(name:
String
)
Content copied to clipboard
This class represents a client unique identifier (UId).
Types
Constructors
Functions
Constructors
ClientUId
Link copied to clipboard
common
fun
ClientUId
(name:
String
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
common
object
Companion
Content copied to clipboard
Functions
compareTo
Link copied to clipboard
common
operator fun
compareTo
(other:
ClientUId
):
Int
Content copied to clipboard
Compares this client name to a given other client name.
copy
Link copied to clipboard
common
fun
copy
(name:
String
):
ClientUId
Content copied to clipboard
equals
Link copied to clipboard
common
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open override fun
hashCode
():
Int
Content copied to clipboard
toJson
Link copied to clipboard
common
fun
toJson
():
String
Content copied to clipboard
Serializes this client unique id to a json string.
toString
Link copied to clipboard
common
open override fun
toString
():
String
Content copied to clipboard