Class ORMap.DeltaGroup<A,​B extends ReplicatedData>

    • Constructor Detail

      • DeltaGroup

        public DeltaGroup​(scala.collection.immutable.IndexedSeq<ORMap.DeltaOp> ops)
    • Method Detail

      • ops

        public scala.collection.immutable.IndexedSeq<ORMap.DeltaOp> ops()
        Implements a 'Observed Remove Map' CRDT, also called a 'OR-Map'.

        It has similar semantics as an ORSet, but in case of concurrent updates the values are merged, and must therefore be ReplicatedData types themselves.

        This class is immutable, i.e. "modifying" methods return a new instance.

      • zero

        public DeltaReplicatedData zero()
        Description copied from interface: ReplicatedDelta
        The empty full state. This is used when a delta is received and no existing full state exists on the receiving side. Then the delta is merged into the zero to create the initial full state.
        Specified by:
        zero in interface ORMap.DeltaOp
        Specified by:
        zero in interface ReplicatedDelta
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object