ReplicatedSet

rdts.datatypes.contextual.ReplicatedSet
See theReplicatedSet companion object
case class ReplicatedSet[E](inner: Map[E, Dots])

A set that allows deletes. Each unique element tracks the dots of when it was inserted. Removals do not override concurrent inserts.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

Value members

Concrete methods

def add(using LocalUid)(e: E)(using context: Dots): Delta
def addAll(using LocalUid)(elems: Iterable[E])(using context: Dots): Delta
def clear(): Delta
def contains(elem: E): Boolean
def elements: Set[E]
def remove(e: E): Delta
def removeAll(elems: Iterable[E]): Delta
def removeBy(cond: E => Boolean): Delta

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product