c

s_mach.datadiff

SMach_Datadiff_PimpEverything

implicit final class SMach_Datadiff_PimpEverything[A] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SMach_Datadiff_PimpEverything
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SMach_Datadiff_PimpEverything(self: A)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def -->?[Patch](other: A)(implicit aDiff: DataDiff[A, Patch]): Patch

    Alias for calcDiff.

    Alias for calcDiff. See above

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. def applyPatch[Patch](patch: Patch)(implicit aDiff: DataDiff[A, Patch]): A

    Apply a patch (generated by a prior call to calcDiff) to a value.

    Apply a patch (generated by a prior call to calcDiff) to a value. If patch is equal to noChange, then value is returned unmodified.

    patch

    the patch to apply

    returns

    the new value with the patch applied

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def calcDiff[Patch](newValue: A)(implicit aDiff: DataDiff[A, Patch]): Patch

    Compute the difference between two values.

    Compute the difference between two values. Result is a patch that if applied to the original value results in the new value.

    newValue

    the new value

    returns

    If oldValue and newValue are different, P (that is not equal to noChange). Otherwise, noChange

  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val self: A
  11. def toString(): String
    Definition Classes
    Any
  12. def |<--[Patch](patch: Patch)(implicit aDiff: DataDiff[A, Patch]): A

    Alias for applyPatch.

    Alias for applyPatch. See above

Inherited from AnyVal

Inherited from Any

Ungrouped