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.

        Returns:
        (undocumented)
      • 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
        Returns:
        (undocumented)
      • 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
      • hashCode

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

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

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