implicit final class SMach_Datadiff_PimpEverything[A] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SMach_Datadiff_PimpEverything
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SMach_Datadiff_PimpEverything(self: A)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
-->?[Patch](other: A)(implicit aDiff: DataDiff[A, Patch]): Patch
Alias for calcDiff.
Alias for calcDiff. See above
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: A
-
def
toString(): String
- Definition Classes
- Any
-
def
|<--[Patch](patch: Patch)(implicit aDiff: DataDiff[A, Patch]): A
Alias for applyPatch.
Alias for applyPatch. See above