case class UpdateValue[T](from: T, to: T) extends Patch[T] with Product with Serializable
- Alphabetic
- By Inheritance
- UpdateValue
- Serializable
- Serializable
- Product
- Equals
- Patch
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new UpdateValue(from: T, to: T)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from UpdateValue[T] to any2stringadd[UpdateValue[T]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (UpdateValue[T], B)
- Implicit
- This member is added by an implicit conversion from UpdateValue[T] to ArrowAssoc[UpdateValue[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(x: T): T
Do patch the given value
Do patch the given value
- x
a value to patch
- returns
patched value
- Definition Classes
- UpdateValue → Patch
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
ensuring(cond: (UpdateValue[T]) ⇒ Boolean, msg: ⇒ Any): UpdateValue[T]
- Implicit
- This member is added by an implicit conversion from UpdateValue[T] to Ensuring[UpdateValue[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (UpdateValue[T]) ⇒ Boolean): UpdateValue[T]
- Implicit
- This member is added by an implicit conversion from UpdateValue[T] to Ensuring[UpdateValue[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): UpdateValue[T]
- Implicit
- This member is added by an implicit conversion from UpdateValue[T] to Ensuring[UpdateValue[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): UpdateValue[T]
- Implicit
- This member is added by an implicit conversion from UpdateValue[T] to Ensuring[UpdateValue[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from UpdateValue[T] to StringFormat[UpdateValue[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- val from: T
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
imap[TT](fw: (T) ⇒ TT, bk: (TT) ⇒ T): Patch[TT]
Makes a wrapping patch.
Makes a wrapping patch. Used for Sum types: Option, Either
- fw
Function that converts a value to Monadic type (wrap)
- bk
Function that converts Monadic value back to original value (un-wrap)
- returns
Wrapped Patch
- Definition Classes
- Patch
-
def
inverted: UpdateValue[T]
Creates a Patch tha can be used to patch back (un-patch)
Creates a Patch tha can be used to patch back (un-patch)
- returns
Inverted Patch
- Definition Classes
- UpdateValue → Patch
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOpaque: Boolean
Does this Patch really going to change the value
Does this Patch really going to change the value
- Definition Classes
- UpdateValue → Patch
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonOpaque: Boolean
Does this Patch really going to change the value
Does this Patch really going to change the value
- Definition Classes
- Patch
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
render(x: PatchVisitor): Unit
Reports some internal representation details so developer can have access to Patch function specific details.
Reports some internal representation details so developer can have access to Patch function specific details. Can be used for rendering to text.
- x
Renderer
- Definition Classes
- UpdateValue → Patch
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val to: T
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (UpdateValue[T], B)
- Implicit
- This member is added by an implicit conversion from UpdateValue[T] to ArrowAssoc[UpdateValue[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated