object Differ extends Serializable
- Alphabetic
- By Inheritance
- Differ
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait ChunkPatch[Value, Patch] extends AnyRef
A patch which describes updates to a chunk of values.
- sealed trait MapPatch[Key, Value, Patch] extends AnyRef
A patch which describes updates to a map of keys and values.
- sealed trait OrPatch[Value, Value2, Patch, Patch2] extends AnyRef
A patch which describes updates to either one value or another.
- sealed trait SetPatch[A] extends AnyRef
A patch which describes updates to a set of values.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def chunk[Value, Patch](differ: Differ[Value, Patch]): Differ[Chunk[Value], ChunkPatch[Value, Patch]]
Constructs a differ that knows how to diff a
Chunk
of values given a differ that knows how to diff the values. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def environment[A]: Differ[ZEnvironment[A], Patch[A, A]]
Constructs a differ that knows how to diff
ZEnvironment
values. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[Key, Value, Patch](differ: Differ[Value, Patch]): Differ[Map[Key, Value], MapPatch[Key, Value, Patch]]
Constructs a differ that knows how to diff a
Map
of keys and values given a differ that knows how to diff the values. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def set[A]: Differ[Set[A], SetPatch[A]]
Constructs a differ that knows how to diff a
Set
of values. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update[A]: Differ[A, (A) => A]
Constructs a differ that just diffs two values by returning a function that sets the value to the new value.
Constructs a differ that just diffs two values by returning a function that sets the value to the new value. This differ does not support combining multiple updates to the value compositionally and should only be used when there is no compositional way to update them.
- def updateWith[A](f: (A, A) => A): Differ[A, (A) => A]
A variant of
update
that allows specifying the function that will be used to combine old values with new values. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object ChunkPatch
- object MapPatch
- object OrPatch
- object SetPatch