RGANode

data class RGANode(atom: String, anchor: RGAUId?, uid: RGAUId, ts: Timestamp, removed: Boolean)

A RGA node.

Constructors

RGANode
Link copied to clipboard
common
fun RGANode(atom: String, anchor: RGAUId?, uid: RGAUId, ts: Timestamp, removed: Boolean)

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): RGAUId?
component3
Link copied to clipboard
common
operator fun component3(): RGAUId
component4
Link copied to clipboard
common
operator fun component4(): Timestamp
component5
Link copied to clipboard
common
operator fun component5(): Boolean
copy
Link copied to clipboard
common
fun copy(atom: String, anchor: RGAUId?, uid: RGAUId, ts: Timestamp, removed: Boolean): RGANode
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
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

anchor
Link copied to clipboard
common
val anchor: RGAUId?
the uid of the node to the left of this node, when it was inserted.
atom
Link copied to clipboard
common
val atom: String
the atom stored within the node.
removed
Link copied to clipboard
common
val removed: Boolean
a boolean to mark if the node is a tombstone.
ts
Link copied to clipboard
common
val ts: Timestamp
the timestamp associated with last update of the node (insertion or removal), used to generate deltas.
uid
Link copied to clipboard
common
val uid: RGAUId
the unique identifier associated with the node.